1 |
On Friday, June 06, 2014 01:59:18 AM covici@××××××××××.com wrote: |
2 |
> Hi. I am having some strange performance problems when booted under |
3 |
> systemd. These problems happened a little bit under openrc, but are |
4 |
> much more pronounced with systemd. |
5 |
|
6 |
I don't think it's necessarily systemd itself, just a setting that systemd |
7 |
does differently then openrc. See below for more. |
8 |
|
9 |
> I am using just virtual consoles, no gui whatsoever at the moment. I |
10 |
> also use tmux with 4 windows in one of the vcs. My system is an i7 |
11 |
> processor, quod core and 16g of ram and 2g of swap space which appears |
12 |
> not to be used. I am using uvesafb for the console, so I get 64x160 |
13 |
> screens. |
14 |
|
15 |
Sounds similar to my laptop, except I run KDE and got 16g of swap (for |
16 |
hibernate) |
17 |
|
18 |
> The first problem is that if I don't press any keystrokes for several |
19 |
> minutes and then want to move to another vc, it takes about 3 or 4 |
20 |
> seconds after the alt-left arrow or alt-right arrow command to take |
21 |
> effect. Even within the same vt, if I don't do anything for several |
22 |
> minutes, it takes several seconds till the keystroke echoes and |
23 |
> something happens. Once I have done this, things act normally, but its |
24 |
> kind of annoying. |
25 |
|
26 |
Sounds like a powersave setting. I used to get the same on my old laptop with |
27 |
spinning rust. SSDs tend to "spin-up" a lot quicker. |
28 |
|
29 |
> Also, my load average seems to always be >1. I have |
30 |
> looked at top and things seem to be OK, except that my cpu usage is like |
31 |
> this: |
32 |
> Tasks: 934 total, 2 running, 931 sleeping, 0 stopped, 1 zombie |
33 |
> %Cpu(s): 12.5 us, 1.2 sy, 0.0 ni, 86.0 id, 0.2 wa, 0.0 hi, 0.0 si, |
34 |
> 0.0 st |
35 |
> KiB Mem: 16450248 total, 9678656 used, 6771592 free, 1084088 buffers |
36 |
> KiB Swap: 2097148 total, 4 used, 2097144 free. 1147688 cached |
37 |
> Mem |
38 |
> |
39 |
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ |
40 |
> COMMAND |
41 |
> 9969 root 20 0 708 16 0 R 100.0 0.0 1549:10 v86d |
42 |
> 579 root 30 10 0 0 0 S 9.1 0.0 16:09.93 |
43 |
> speakup |
44 |
> 11789 root 20 0 22524 2388 1116 R 0.7 0.0 0:00.03 top |
45 |
> 7 root 0 -20 0 0 0 S 0.3 0.0 0:10.41 |
46 |
> kworker/u:0H |
47 |
> |
48 |
> and onward ... |
49 |
> This is an awful lot of tasks, I have never seen so many! |
50 |
|
51 |
That is a lot, I am currently running KDE, firefox and a citrix remote desktop |
52 |
thing. (oh, and skype and kopete and a few other items) |
53 |
KDE is installed with semantic-desktop, but the nepomuk stuff is disabled in |
54 |
system-settings. |
55 |
I have 200 tasks (yes, nice round figure) |
56 |
|
57 |
> Anyone have any ideas? Thanks much. |
58 |
|
59 |
For the amount of tasks, check that you are not starting too many unneeded |
60 |
services. For the load-average of 1, shouldn't be too much of an issue, had |
61 |
similar in the past with a lot of stuff running and slow disks. |
62 |
|
63 |
For the freezing, I would suggest checking all the powersave options, |
64 |
especially the ones for the harddrives. |
65 |
Is there anything in the logs when this happens? Eg. check the logs right |
66 |
after the system becomes responsible again, maybe there is a hint there what |
67 |
is causing this. |
68 |
|
69 |
-- |
70 |
Joost |