LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing and Optimizing Xubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/installing-and-optimizing-xubuntu-805736/)

Parallaxis 05-05-2010 05:13 PM

Quote:

top | head -n 15
w/ Midori running

top - 18:11:47 up 26 min, 2 users, load average: 1.75, 1.57, 1.26
Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
Cpu(s): 46.5%us, 9.0%sy, 0.0%ni, 42.1%id, 1.7%wa, 0.4%hi, 0.3%si, 0.0%st
Mem: 250728k total, 244908k used, 5820k free, 9340k buffers
Swap: 731128k total, 5860k used, 725268k free, 117944k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1053 wayne 20 0 18048 7884 6388 R 11.6 3.1 3:26.12 xfce4-systemloa
681 root 20 0 42244 23m 6568 S 10.0 9.7 4:39.66 Xorg
1381 wayne 20 0 2556 1044 792 R 6.6 0.4 0:00.11 top
1036 wayne 20 0 19512 9140 7520 S 1.7 3.6 0:06.84 xfwm4
1044 wayne 20 0 41104 11m 8832 S 1.7 4.6 0:33.26 xfce4-panel
1098 wayne 20 0 32880 10m 8440 S 1.7 4.4 0:03.00 notify-osd
1 root 20 0 2792 1376 1064 S 0.0 0.5 0:01.61 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd

MTK358 05-05-2010 05:15 PM

Far easier to read when put in code tags.

I did it for you here:

Code:

top - 18:11:47 up 26 min, 2 users, load average: 1.75, 1.57, 1.26
Tasks: 108 total, 2 running, 106 sleeping, 0 stopped, 0 zombie
Cpu(s): 46.5%us, 9.0%sy, 0.0%ni, 42.1%id, 1.7%wa, 0.4%hi, 0.3%si, 0.0%st
Mem: 250728k total, 244908k used, 5820k free, 9340k buffers
Swap: 731128k total, 5860k used, 725268k free, 117944k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1053 wayne 20 0 18048 7884 6388 R 11.6 3.1 3:26.12 xfce4-systemloa
681 root 20 0 42244 23m 6568 S 10.0 9.7 4:39.66 Xorg
1381 wayne 20 0 2556 1044 792 R 6.6 0.4 0:00.11 top
1036 wayne 20 0 19512 9140 7520 S 1.7 3.6 0:06.84 xfwm4
1044 wayne 20 0 41104 11m 8832 S 1.7 4.6 0:33.26 xfce4-panel
1098 wayne 20 0 32880 10m 8440 S 1.7 4.4 0:03.00 notify-osd
1 root 20 0 2792 1376 1064 S 0.0 0.5 0:01.61 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.01 kthreadd


Parallaxis 05-05-2010 05:22 PM

Quote:

sudo fdisk
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2348 18855936 83 Linux
/dev/sda2 2348 2439 731137 5 Extended
/dev/sda5 2348 2439 731136 82 Linux swap / Solaris

I can't copy 'top', it keeps changing

Parallaxis 05-05-2010 05:27 PM

With nothing running



Code:

top - 18:24:27 up 38 min,  2 users,  load average: 0.99, 1.00, 1.06
Tasks: 107 total,  1 running, 106 sleeping,  0 stopped,  0 zombie
Cpu(s): 46.9%us,  9.0%sy,  0.0%ni, 42.2%id,  1.3%wa,  0.5%hi,  0.2%si,  0.0%st
Mem:    250728k total,  211176k used,    39552k free,    7460k buffers
Swap:  731128k total,    6140k used,  724988k free,  112076k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 1053 wayne    20  0 18048 7852 6356 S 14.1  3.1  5:16.75 xfce4-systemloa   
  681 root      20  0 40756  21m 4596 S 12.3  8.8  8:08.31 Xorg             
 1530 wayne    20  0  2552 1048  792 R  5.3  0.4  0:00.10 top               
 1044 wayne    20  0 41104  11m 8752 S  1.8  4.5  0:48.97 xfce4-panel       
    1 root      20  0  2792 1356 1044 S  0.0  0.5  0:01.62 init             
    2 root      20  0    0    0    0 S  0.0  0.0  0:00.01 kthreadd         
    3 root      RT  0    0    0    0 S  0.0  0.0  0:00.00 migration/0       
    4 root      20  0    0    0    0 S  0.0  0.0  0:00.00 ksoftirqd/0


pixellany 05-05-2010 05:30 PM

My system---firefox, tbird, konsole, image viewer and dolphin all running:

3 samples--edited:
Code:

[mherring@mystical ~]$ top|head -n 15
top - 15:20:59 up  2:16,  2 users,  load average: 0.00, 0.00, 0.00
Tasks: 138 total,  1 running, 137 sleeping,  0 stopped,  0 zombie
Cpu(s):  2.8%us,  0.9%sy,  0.1%ni, 94.9%id,  1.0%wa,  0.1%hi,  0.1%si,  0.0%st
Mem:  4056936k total,  1287116k used,  2769820k free,    82980k buffers
Swap:  4393768k total,        0k used,  4393768k free,  613168k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                   
 2516 mherring  20  0  565m  70m  42m S    4  1.8  1:51.74 kwin                                     
 2286 root      20  0 97728 9260 1772 S    2  0.2  0:03.73 wicd                                     
 2317 root      20  0  129m  49m  17m S    2  1.3  3:26.20 X                                         
 2522 mherring  20  0  390m  39m  26m S    2  1.0  2:25.04 knotify4                                   
                         
[mherring@mystical ~]$ top|head -n 15

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                   
 2317 root      20  0  129m  49m  17m S    4  1.3  3:26.65 X                                         
 2522 mherring  20  0  390m  39m  26m S    4  1.0  2:25.32 knotify4                                 
                           
[mherring@mystical ~]$ top|head -n 15

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                   
 2522 mherring  20  0  390m  39m  26m S    4  1.0  2:26.39 knotify4                                 
 2317 root      20  0  129m  49m  17m S    2  1.3  3:27.66 X                                         
 2516 mherring  20  0  565m  70m  42m S    2  1.8  1:52.15 kwin

Note that the CPU never gets over 4%, and none of the apps are even in the picture.

Looking at the output from Parallaxis, I'm thinking "What the @#^#% is "xfce4-systemloa" ??

pixellany 05-05-2010 05:37 PM

I just logged into XFCE, and got this:
Code:

[mherring@mystical play]$ top | head -n 15
top - 15:35:39 up  2:31,  2 users,  load average: 0.18, 0.21, 0.10
Tasks: 121 total,  1 running, 119 sleeping,  1 stopped,  0 zombie
Cpu(s):  2.9%us,  1.0%sy,  0.1%ni, 94.9%id,  0.9%wa,  0.1%hi,  0.1%si,  0.0%st
Mem:  4056936k total,  831868k used,  3225068k free,    86436k buffers
Swap:  4393768k total,        0k used,  4393768k free,  478920k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
    1 root      20  0  3844  628  536 S    0  0.0  0:00.38 init             
    2 root      20  0    0    0    0 S    0  0.0  0:00.00 kthreadd         
    3 root      RT  0    0    0    0 S    0  0.0  0:00.00 migration/0       
    4 root      20  0    0    0    0 S    0  0.0  0:00.19 ksoftirqd/0       
    5 root      RT  0    0    0    0 S    0  0.0  0:00.00 watchdog/0       
    6 root      RT  0    0    0    0 S    0  0.0  0:00.00 migration/1       
    7 root      20  0    0    0    0 S    0  0.0  0:00.16 ksoftirqd/1       
    8 root      RT  0    0    0    0 S    0  0.0  0:00.00 watchdog/1

Nothing running except the terminal.

Slight increase with FF running, but NOTHING like the OP's.....

pixellany 05-05-2010 05:45 PM

Repeat previous question:
Quote:

"What the @#^#% is "xfce4-systemloa" ??
Next, I would try "ps -e|grep systemloa". Get the process ID---eg 5500---then do "kill -9 5500" and see what happens.

(On my system, there is no process by that name running.)

I see light at the end of the tunnel!!

Parallaxis 05-05-2010 06:05 PM

I thought it stood for "Xfce4 system load"

Maybe I should try that Lxde thing someone posted while back.

Stand by while I try you suggestions

Parallaxis 05-05-2010 06:14 PM

Ok Try this.....
Code:

top - 19:08:54 up  1:23,  2 users,  load average: 1.26, 0.84, 0.55
Tasks: 107 total,  1 running, 106 sleeping,  0 stopped,  0 zombie
Cpu(s): 34.8%us,  6.8%sy,  0.0%ni, 57.0%id,  0.8%wa,  0.4%hi,  0.2%si,  0.0%st
Mem:    250728k total,  221084k used,    29644k free,    13736k buffers
Swap:  731128k total,    4452k used,  726676k free,    93016k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 2073 wayne    20  0  2552 1044  792 R  7.1  0.4  0:00.12 top               
  692 root      20  0  2076  768  488 S  1.8  0.3  0:00.27 acpid             
 1797 root      20  0 41836  23m 6396 S  1.8  9.6  0:44.90 Xorg             
 1925 wayne    20  0 19524 8972 7452 S  1.8  3.6  0:01.84 xfwm4             
 1934 wayne    20  0 33396  11m 8980 S  1.8  4.6  0:05.81 xfce4-panel       
 1985 wayne    20  0 32880  10m 8528 S  1.8  4.4  0:01.51 notify-osd       
    1 root      20  0  2792 1440 1080 S  0.0  0.6  0:01.69 init             
    2 root      20  0    0    0    0 S  0.0  0.0  0:00.01 kthreadd


I forgot that I had the system monitor application running in the top tool bar. I shut it down and rescaned. It does run alittle quicker now without that running. So that atleast puts it in the almost functional range.

pixellany 05-05-2010 06:20 PM

http://goodies.xfce.org/projects/pan...temload-plugin

Aha!! A tool to monitor system load and it winds up being the major load!!

Since this is not in my Arch system when using XFCE, I'm guessing that the Ubuntu folks put it in. To disable it, we might need a Ubuntu expert. Meanwhile, poke around in your settings.

EDIT: Oops--did not read your last post before posting.

pixellany 05-05-2010 06:23 PM

Parallaxis;

You have just passed a test that you did not know you were taking......:)

You have now demonstrated hands-down the necessary skills to install and set up Arch. (I'm not kidding.)

mark_alfred 05-05-2010 06:33 PM

I ran top on my system, getting
Code:

top - 19:31:38 up  8:37,  2 users,  load average: 0.21, 0.28, 0.32
Tasks:  80 total,  2 running,  78 sleeping,  0 stopped,  0 zombie
Cpu(s):  6.3%us,  2.0%sy,  0.0%ni, 91.4%id,  0.0%wa,  0.3%hi,  0.0%si,  0.0%st
Mem:    386308k total,  373412k used,    12896k free,    29112k buffers
Swap:  1124508k total,        0k used,  1124508k free,  216600k cached

The major differences with Parallaxis' top output are that the load average is lower, and that the percentage in the Cpu(s) column under "id" is higher -- on mine it is 91.4%, whereas on Parallaxis' it is 57%, or less in another of his/her postings. Interestingly, pixellany's reading from his top posting is also in the nineties (specifically, 94.9%id in one posting).

I'm not sure what this figure means, but it may point to some issue.

Parallaxis 05-05-2010 06:44 PM

Ok.....

Round two! errr.... Round 32!

I just installed LXDE from the instructions above.

I can't say it's any faster, atleast according to my human eyeball.

I tried to right click and open a terminal to post some more results but LXDE seems to function just like Windows.

Anyway... Google Chrome still grinds to a hault. Midori is actually functional (not any more or any less than Xfce as far as I can tell from 30secs of use). I wouldn't want to surf all day with it this slow, but it does seem to work.

I don't know about trying Arch. I mean this will be a guest computer after all. So it has to remain as simple as possible.

pixellany 05-05-2010 06:51 PM

Quote:

So it has to remain as simple as possible.
Arch IS simple....

Regardless, for what you are doing, I would say get it working "good enough", and then leave it alone.

Parallaxis 05-05-2010 06:51 PM

Quote:

Originally Posted by mark_alfred (Post 3958284)
I think pixellany is right. I believe LXDE uses less processes, so I would suggest switching to LXDE (as some others have suggested). So, try the following in your terminal:
Code:

sudo apt-get install lxde
This installs lxde. Try exiting xfce and then booting into lxde, and see if it is quicker. Then, try removing xfce with the following:
Code:

sudo apt-get remove xfce4 thunar orage gtk2-engines-xfce thunar-volman xfce4-appfinder xfce4-mixer xfce4-panel xfce4-session xfce4-settings xfce4-utils xfwm4
Less is more, as they say.

Oh, I didn't remove Xfce, I'd rather not unless you guys think it will noticeably increase performance.


All times are GMT -5. The time now is 10:08 AM.