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