Fedora :: Way To Reduce Running Time / Memory Requirement Of Update Process?

Aug 14, 2010

I have an Acer Aspire netbook with 1GB RAM and 1.6 GHz dual-core 32-bit x86 chips. The KPackageKit / yum / rpm chain is running too slow for me. In addition to the time required to download any new packages or updates, it seems to require at least one full minute of processing time to install each package, update, or bug fix, no matter how small. Another full minute is consumed for each package in "cleaning up."Running yum from the command line takes nearly the same amount of time.During this time, I cannot run any other applications without severe thrashing. It seems that a full gigabyte of memory is in use with some 100M swapped out to disk.

Is there any way to reduce the running time and memory requirement of the update process?While not updating or installing software, I do not normally run out of memory (i.e. begin thrashing) until I have about a dozen browser tabs open, or the like.

View 9 Replies


ADVERTISEMENT

General :: Find Out How Much Time An Already Running Process Is Spending In User And Kernel Spac?

Jun 8, 2011

I am currently struggling with one of my tasks.I was asked to find a way how to determine how much time an _already running_ process is spending in user and kernel space.E.G. <some tool> <pid>[Control] + [c]<pid> spent 12.1 seconds in user and 1.52 seconds in kernel space.Does something like this exist? Basically I guess I am looking for something similar to time, except that the process is already running.So..a) Is there a tool which fulfills this task?b) Is there a way to write your own software which does the job? Is it even possible to code something I am looking for?I recently found strace -c -p <pid>, but well, this is not exactly what I was looking for.

View 3 Replies View Related

Ubuntu :: Reduce Available Memory In 9.10

Apr 29, 2010

I want to set a limit on the available RAM in my Linux machine, it currently has 4GB of RAM, and in order to perform some experiments I need the system to recognize and use only 1GB. I don't want to limit the amount of memory to one particular process (like with ulimit), but to the whole system. The OS in Ubuntu 9.10. Somewhere a long time ago (for Fedora) I read about editing grub, so that at boot time the limit is set, it might be something along those lines, but not really sure.

View 9 Replies View Related

Ubuntu Networking :: Reduce Memory Footprint 9.04?

Apr 13, 2010

Just wondering if anyone has been successful at reducing the memory footprint of ubu 9.04. I have googled and read a number of "suggestion" but when applied had little or no effect on memory usage. So, after a complete new install, I am here asking this question. It is not a biggie but I am always looking for ways to reduce memory usage without sacrificing functionality.

I try to help others who would like to try and or convert to linux but often their systems have minimal memory and they don't or can't purchase more memory. So, being able to install ubuntu with a smaller memory footprint would be a good thing.

A basic ubuntu 9.04 seems to use about 300 Mb and for many that is too much. Hence, my quest for a smaller memory requirement. I have tried the ubuntu minimal cd's but they don't really achieve much in the memory area and they take so much longer to install since one uses the internet.

At any rate, if someone knows what services or programs that can be safely removed in order to achieve a better memory usage Oh, I have looked at numerous other distro's but seem to always return to ubuntu.

View 1 Replies View Related

Ubuntu :: Reduce Memory Usage / Footprint In 10.04?

May 15, 2010

I like a lot of the last Ubuntu editions, but my computer is a little old, and Ubuntu becomes slower each edition to me.

I get a AMD Athlon 2 GHz, with just 512 MB of RAM memory...

I tried to customize my last installation of 9.10, but i just mess up with the OS. Well, I googled for informations about reducing memory usage, as well others speed-ups but all them are a bit older. Does anyone know any resource about this?

Until now I just disabled startups programs, but i really want is remove packages and everything that I don't use.

One thing thats get me up set sometimes is that I run Win XP pro under a cryptographed partition, and even yet its very fast in my PC. I even tried Windows 7, and its was faster than the Ubuntus I installed.

When I'm using the 10.04, there is a lot of memory used by cache, specially Gnome...

View 3 Replies View Related

Programming :: Reduce Memory Cost Of Threads?

Jul 21, 2011

Fedora15 32bit. I write a test program, it creates new thread continually, the thread does nothing but sleep. I find virtual memory increases up almost 10Mb when a new thread is created. and when there's more than 200 threads, the virtual memory used by the program is 3Gb, and now cann't create new thread. but on windows, it costs little memory. What can I do to config the operation system to take less memory on threads?

View 11 Replies View Related

Server :: Apache Crashing VPS - Need To Reduce Memory Usage

Feb 11, 2010

I have a VPS running a web application served using Apache, that on average deals with 20-50 requests per second. It's usually above this point (50 requests per second) that the amount of memory that Apache uses is too high for the VPS and errors start occuring - web pages crash and VPS falls over for a minute or two before going back to normal levels.

I believe that MaxClients is the best way to reduce the amount of RAM that Apache uses and I am planning to reduce MaxClients from 256 (default value) to around 100. Each Apache process uses ~15MB and the server has 1900MB of ram in total - the server does nothing else other than run Apache and a few crons.

Current setting are:

Code:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
# prefork MPM
# StartServers: number of server processes to start

[Code].....

I tried reducing MaxClients before which lead to massive slowness, so I need some other options as well.

Does my suggestion of reducing MaxClients to ~100 seems sensible? What are my options if the server experiences slowness again - optimise the application? What's the best way to reduce memory usage - move images to another web server?

View 2 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

Red Hat / Fedora :: Memory Utilization For Particular Process

Jul 15, 2009

Is there any command to get the memory utilization of a particular process in Linux?I tried with Top and /proc/pid/status commands but the results are not proper, the memory keeps on increasing.Can anyone tell other than Top and /proc/pid/status commands ?

View 2 Replies View Related

General :: Script To Send The Swap Is Running Out Of Requirement An Alert To Mail?

Jul 16, 2011

script to send the swap is running out of requirement an alert to mail?

View 1 Replies View Related

Ubuntu :: Memory Leak / Some Process Eating All Memory

Jan 29, 2011

I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.

View 9 Replies View Related

Fedora :: Process Kslowd00/kslowd001 It Eats 60% Of Cpu And 15% Of Memory

Mar 21, 2011

process kslowd00/kslowd001 it eats 60% of my cpu and 15% of my memory ... i can't kill it even as root.this process makes my computer slower than" IBM 704 running fortran programs "... I've faced this process using Fedora 14 and now with Scientific Linux 6(RHEL 6 recompiled) SL 5.5 didn't have this.

View 1 Replies View Related

Red Hat / Fedora :: Increase Memory Space Allocated For Process?

Jun 1, 2010

I want to know if i can increase the memory space allocated for a process manually while the process is running ,,,, and if it is possible how i can do this .

View 2 Replies View Related

Fedora :: Managed To Reduce The Logical Volume To Free Some Space But Cant Seem To Reduce The Physical Volume

Jan 1, 2010

so i have f12 installed on my hd with lvm using the whole extent of the HD , i want to reduce it so i can dual boot it with a windows system, i managed to reduce the logical volume to free some space, but i cant seem to reduce the physical volume, is this possible and how ?

View 2 Replies View Related

Ubuntu :: Running Postinst Hook Script /usr/sbin/update-grub Taking A Long Time?

Apr 15, 2010

Running first upgrade after installing 9.10.

Currently on item "Configuring linux-image-2.6.31-20-generic" and the progress bar/terminal readout has not changed for an hour or so I'd say.

Don't want to cause issues by killing it halfway through, especially as it presents an opportunity to learn something!

View 2 Replies View Related

Ubuntu :: Tweak 'notifications' - Move It And Reduce Display Time?

Oct 15, 2010

I need to move the 'notifications' that are displayed to the bottom right corner and also reduce its display timeCan't find where they are controlled from and they are pretty annoying (most of the time)

View 5 Replies View Related

Ubuntu Installation :: What Is Making Long Black Screen Or How To Reduce Time

Jun 11, 2010

I keep hearing about how Ubuntu is supposed to be so much faster than Windows 7, but have yet to see any major difference in their boot times. I am dual-booting Windows 7 and Ubuntu 10.04 on an intel Centrino 2 processor with 4Gb of ram and both OS's take about the same time to boot. After I get to the bootmanager to select OS, if I click on Windows 7 it almost immediately goes to the GUI load screen with the windows logo. On the other hand, if I boot into Ubuntu I get a black screen for ~30 seconds before the Ubuntu logo even appears. Comparing GUI boot times, Ubuntu is clearly the winner, but they take the same time total.

Does anyone know what is making the long black screen or how to reduce the time? I would really like to show people how fast Ubuntu really boots.Immediatly before Ubuntu Gui starts, an message shows up for a second saying something like "Unknown adaptor version (2): You may experience some problems", it flies past so quickly that may not be verbatim.

View 7 Replies View Related

Red Hat / Fedora :: System Is Eating More Memory And The Usage Is Keep On Increasing And At Particular Time

May 5, 2011

My server is keep on hanging So I have rebooted several times in the last couple of weeks, the system is eating more memory and the usage is keep on increasing and at particular time it became saturated and my server hungs. I could not find which process is eating more memory. I have used the below commands to check if any process is eating more memory but no luck. No such process are using high memory.

1) Top
2) ps -eo pcpu,pmem,user,args

[Code]....

View 3 Replies View Related

Red Hat / Fedora :: How To Get Running Process State

Jul 2, 2009

I am writing network module (LKM). I got process information by current->pid and current->comm. But now i want current state of task. I want to know the state of running the process. I dont find any information in struct task_struct structure. how can i get the state of current running process.

View 1 Replies View Related

Fedora :: Microcode - Boot Process Hangs At Startx Time

Sep 4, 2010

Ever since the kernel update to 2.6.34.6-47.fc13.x86_64, my boot process hangs at about startx time. I boot cleanly at runlevel 3 in either this or the previous 2.6.33.8 kernel. If I execute startx from here (in either kernel), the system hangs at the same place. During the early troubleshooting, I read in another thread (250929) about installing xorg-x11-drv-catalyst, which I did using yum. This led to the failure of the 2.6.33 kernel; yum remove did not fix this. I have carefully followed the instructions in the fglrx HOWTO (updated a week ago by Hlingler) as they relate to a PAE kernel (including reinstalling mesa-libGL), and that fixed earlier difficulties. Hence, I felt I needed a new thread.

dmesg tells me
Code:
microcode: CPU0: patch_level=0x2000032
platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
Linux video capture interface: v2.00
piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
microcode: CPU1: patch_level=0x2000032
platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
microcode: Microcode Update Driver: v2.00 .....

But the program itself reports
Code:
# microcode_ctl -h
This program is for updating the microcode on Intel processors belonging to the IA32 family - PentiumPro upwards (x86-64 included). It depends on the Linux kernel driver. The website urbanmyth.org/microcode (mentioned by yum info microcode_ctl) clearly indicates that Intel has taken over this microcodecode distribution, and suggests that it is no longer valid for AMD processors.

I found a reference to a kernel configuration flag CONFIG_MICROCODE_AMD (as a plausible subsititute for CONFIG_MICROCODE_INTEL) that possibly belongs in a script in /etc/init.d - but the above context leads me to suspect this is not true any more. In any event, those flags are not mentioned anywhere in my init.d scripts - in fact nowhere in the entire /etc tree. My microcode file exists, and is dated March 23. How do I get it installed? Or is this completely unrelated to my hanging boot problem, as suggested by the "platform microcode" line in the dmesg output? If so, where should I be looking?

View 4 Replies View Related

Fedora :: Enable / Disable It Logo On Boot Time Process?

Jan 24, 2011

eCouldnyone help me out to put the right configuration parameters in the grub.conf file so I can enable or disable the Fedora Logo on boot time ?

Currently I'm seeing 3 bars being filled on boot time. I need to get back the Fedora Logo during the boot time process.

How can I do this?

View 10 Replies View Related

General :: Get The Values For The User Time And System Time For A Process?

Aug 4, 2009

get the values for the user time and system time for a process.i have tried getrusage to get values of ru_utime and ru_stimebut these don't seem to be correct

View 3 Replies View Related

Fedora :: Stellarium - Destroyed While Process Still Running

Jul 11, 2009

I have stellarium 0.10.2 but whenever I run it, it does not save my settings. A look at its output is:

Code:
$ stellarium
QProcess: Destroyed while process is still running.
[ This is Stellarium 0.10.2 - [URL] ]
[ Copyright (C) 2000-2009 Fabien Chereau et al ]
Writing log file to: "/home/arthur/.stellarium/log.txt"
File search paths:
0 . "/home/arthur/.stellarium"
1 . "/usr/share/stellarium"
Config file is: "/home/arthur/.stellarium/config.ini"
Sky language is: "en_US"
Application language is: "en_US"
Loading Solar System data ...
Loaded 38 / 38 planet orbits
Loading star data ...
Loading "stars_0_0v0_1.cat": 0_0v0_1; 5013
Loading "stars_1_0v0_1.cat": 1_0v0_1; 21999
Loading "stars_2_0v0_1.cat": 2_0v0_1; 151416
Loading "stars_3_1v0_0.cat": 3_1v0_0; 434064
Finished loading star catalogue data, max_geodesic_level: 3
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
Loaded 10051 / 13226 NGC records
Loading NGC name data ...
Loaded 222 / 222 NGC name records successfully
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 89 / 89 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 230 / 230 common star names
Loading star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 3215 / 4359 scientific star names
Creating GUI ...
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2
try_pbo_zcopy: failure 2

The failure continues for as long as the app is running.

View 14 Replies View Related

Server :: Reduce RAID5 Partition Sizes / Reduce The Size Of Md1 And Grow Md0?

Feb 14, 2010

I have a rack of four 1TB drives all partitioned identically with three primary partitions. On each drive

- the first partition is only 64MB;
- the second is a large 900GB partition and
- the last holds all the remaining space

mdadm has been used to set up
/dev/md0 - RAID1, comprised of /dev/sda1 and /dev/sdb1
/dev/md1 - RAID5, comprised of /dev/sda2, /dev/sdb2, /dev/sdc2, /dev/sdd2
/dev/md2 - RAID5, comprised of /dev/sda3, /dev/sdb3, /dev/sdc3, /dev/sdd3

OK, so it was a silly mistake to make - but I am now need to increase the size of /dev/md0. My thinking is to reduce the size of md1 so that I can grow md0.

On md1 I have two logical volumes. I've successfully reduced the size of the volume so that I can reduce the size of md1. Now I'm at the nervous stage; I can find little written on the topic of shrinking RAID5 arrays - and even if I do this I'm unsure if I can move partitions around to regain the space I so desire.

View 1 Replies View Related

Fedora :: Unable To Keep Input Method Running Giving Up To Bring The Process Up?

Sep 13, 2009

i upgrade system from fedora10 to 11 when i start the system i got following error

Unable to keep input method running giving up to bring the process up because main input method process for SCIM rapidly died many time.See .imsettings.log for more details

.imsettings.log file contains this

imsettings information
==========================
Is DBus enabled:yes
Is imsettings enabled:yes
Is GTK+ supported:yes
Is Qt supported:no

[Code]....

View 1 Replies View Related

Debian :: Running Same Process Multiple Times(from Another Account) / An Instance Of Newsbeuter Is Already Running Error?

Aug 6, 2010

Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.

View 1 Replies View Related

Fedora :: F11 Update Slowed Down Boot Up Process

Jul 24, 2009

Everything seems to be fine and everything boots up in fedora 11 still; However, the recent updates to my system really hangs my boot time up and it takes a while for it to boot strangely... don't know what exactly could be going on really, but it's doing this for the current and previous kernel of F11. I'm on Fedora 11 32bit x86. My log file: [URL]

View 14 Replies View Related

Ubuntu :: Reduce Boot Time - Remove The Grub An Directly Boot

Mar 4, 2010

Splashtop caught my imagination of my own tv like computer-"1button and ready to go " have tried puppy xpudWebConverger still unhappy Now lucid aming for 10 sec boot-Keeping ma fingers crossed installed a minimal karmic and am getting a decent 27 sec I Jus Wanted to ask: Is there a way to remove the grub an directly boot into ubuntu -not just hiding it by editing grub.d files and any other ways to reduce boot time.......

View 9 Replies View Related

Fedora :: Requirement For Updated Software To A Reboot?

Feb 19, 2010

I am relatively new to Fedora and appreciate it is intended to be a bleeding/leading edge distribution but the continual requests to reboot the computer after updates is intrusive and seems rather odd for a unix operating system. It is often not clear to me why it is necessary when I look at the names of the items triggering the request.

View 10 Replies View Related

Fedora :: Yum Update Install New Kernel - Boot Process Stuck

Mar 24, 2010

I'm not sure what caused it, but it happened right after running 'yum update'. It may be because it installed a new kernel, and there are now two kernels listed in my grub.conf and at boot; 2.6.31 and 2.6.32. System boots through a list of things it's starting up and stalls out at ATL or ADL or ADM maybe. It hangs there for a minute or so then flickers. This happens every time at boot. It's a bit difficult to post more information since I can't get past that part of the boot process, and I can't seem to be able to skip it either. It may be worth mentioning that this is a mini-itx motherboard. Intel Atom 330 1.6, 2GB DDR2, onboard GeForce 9400m. It's a zotac ionitx-a-u. I've installed a fresh copy of Fedora 12 lxde.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved