[opensuse] horrible perfomance problems with powerful laptop
Hello, finally, the performance of Suse 11.3 (all updates applied) on my laptop (i5 quadcore, 4GB) is so awful, one needs to find out the reasons (or change the distribution, or whatever). I hope I find some help here. According to my experience, it's best to start trying to establish some real facts (which, unfortunately, seems to be already a non-trivial endeavour). One basic problem, which I already encountered with previous Suse versions, is that the frequency setting doesn't work: after a few days of running, at least one of the four cores will be set to a lower frequency. To eliminate this (but see below) I set in the BIOS "no frequency scaling". The frequency shown in Ksysguard since then is constantly "2,394 MHz" (but this can't be; see below). Another basic problem is that (reliably) after "sleeping" or "hibernation" the process scheduling doesn't function properly anymore, and typically all processes (whatever the numbers --- I tried hundreds) are scheduled only on two or sometimes even only on one core, while the other two or three cores are idle. Of course, would be great if this malfunction would be treated (finally, I thought Linux would be about speed; apparently these problems don't occur with the windows 7 still on that Laptop (though I don't really run that)). But to ignore that, and for the following I have always rebooted the Laptop (as if it would be windows). Direct after reboot everything is exactly as it should be. I have various computers, on which I perform (a lot of) scientific computations, where I can measure the times reliably, and the times are as they should be. But after a few days of running (and I have tasks, which necessarily run over weeks) performance becomes very weak. It doesn't show up on Ksysquard (or top), there the percentages and frequencies are the same, but for example Kde sticks like glue (reaction time for any button press at least a second, and if you wait for another week, it's 5 seconds; scroll bars become unusable). More reliably, the computations I run become a factor of 5 to 10 (in words, five to ten(!)) slower. Just running one process, memory usage about 50%. So nothing goes on, except that performance is awful. To make these numbers more trustworthy to the outside world, is there some standard (simple!) Linux tool/command to measure some (very) basic performance? I don't mean an elaborated benchmark set, but just a very simple common program, where people know what the running times should be? The only explanation I have for the slow performance is that the frequency goes down dramatically (without Linux noting it), and that can be demonstrated with something very simple. Of course, I have my own programs to run, and I can write a simple C program, but I guess it would make communication much easier if one would have a standard program. Hopefully we can shed some light on that. Thanks for your consideration. Oliver -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-04-03 15:29, Oliver Kullmann wrote:
Hello,
I can not replicate your findings, because I don't have such long running heavy tasks. However, after hibernation the scheduling seems right on mine. I use the same session perhaps for weeks, with daily hibernation, and I don't get a slow desktop. I use gnome, though. And frequency adjustment works fine, as far as I can see. I'm on 11.2 still. It might happen that the desktop thinks that if the mouse and keyboard are idling, the computer is idling and slows things down. It is wrong if heavy task are running, of course. Or, it can take the chance to trigger background search jobs, which are disk intensive. You have to disable that, or wait till they finish. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk2YeqkACgkQtTMYHG2NR9W2tQCfXFSS+g7YQv0OCbTurwn28Uit F2gAn3E/J3lnn5aAUGfHo9WRC9ikupF3 =MzSL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Apr 03, 2011 at 03:48:25PM +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-04-03 15:29, Oliver Kullmann wrote:
Hello,
I can not replicate your findings, because I don't have such long running heavy tasks. However, after hibernation the scheduling seems right on mine. I use the same session perhaps for weeks, with daily hibernation, and I don't get a slow desktop. I use gnome, though. And frequency adjustment works fine, as far as I can see. I'm on 11.2 still.
I would guess that scheduling is not related to KDE or Gnome, but belongs to the kernel. Perhaps the 11.4 kernel is better?
It might happen that the desktop thinks that if the mouse and keyboard are idling, the computer is idling and slows things down. It is wrong if heavy task are running, of course. Or, it can take the chance to trigger background search jobs, which are disk intensive. You have to disable that, or wait till they finish.
there are no such tasks, of course I check that, and ift would also only be temporarily, not a permanent slowdown. And also not a slowdown, which can actually reach a factor of 30 (5 s after boot-up, now 150 s, without nothing running, no disc access). Best regards Oliver -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Oliver Kullmann <O.Kullmann@swansea.ac.uk> [04-03-11 11:33]:
I would guess that scheduling is not related to KDE or Gnome, but belongs to the kernel. Perhaps the 11.4 kernel is better?
11.4 desktop i6 I see no slowdown but do not have an extended heavy load 11:29 Crash:~ > uptime 11:36am up 9 days 18:54, 12 users, load average: 0.20, 0.36, 0.29 -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 3 Apr 2011 16:33:06 +0100 Oliver Kullmann <O.Kullmann@swansea.ac.uk> wrote:
On Sun, Apr 03, 2011 at 03:48:25PM +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-04-03 15:29, Oliver Kullmann wrote:
Hello,
I can not replicate your findings, because I don't have such long running heavy tasks. However, after hibernation the scheduling seems right on mine. I use the same session perhaps for weeks, with daily hibernation, and I don't get a slow desktop. I use gnome, though. And frequency adjustment works fine, as far as I can see. I'm on 11.2 still.
I would guess that scheduling is not related to KDE or Gnome, but belongs to the kernel. Perhaps the 11.4 kernel is better?
It might happen that the desktop thinks that if the mouse and keyboard are idling, the computer is idling and slows things down. It is wrong if heavy task are running, of course. Or, it can take the chance to trigger background search jobs, which are disk intensive. You have to disable that, or wait till they finish.
there are no such tasks, of course I check that, and ift would also only be temporarily, not a permanent slowdown. And also not a slowdown, which can actually reach a factor of 30 (5 s after boot-up, now 150 s, without nothing running, no disc access).
Best regards
Oliver
Hi Oliver, I can't claim you would experience the same thing /but/ fyi to consider: In December, I upgraded (clean install) from 11.1 x86_64 to 11.3 x86_64 and then 'tweaked' and 'tweaked' and 'tweaked' then reinstalled and 'tweaked' some more until a couple of weeks ago I gave up. I simply could not make 11.3 'fit' this system, for whatever reason. I bit the bullet and installed 11.4 x86_64. Holy Cow! It is as though I have gone out and bought a new laptop. The system is not just 'snappy' again, it is lightning fast. And stable. 11.4 has restored my faith. ymmv of course & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Okay, then I hope that updating will improve things. (I wanted to do this anyway, to give KDE 4 a last chance, before switching to Trinity.) Thanks for the input! Oliver On Sun, Apr 03, 2011 at 11:49:25AM -0400, Carl Hartung wrote:
On Sun, 3 Apr 2011 16:33:06 +0100 Oliver Kullmann <O.Kullmann@swansea.ac.uk> wrote:
On Sun, Apr 03, 2011 at 03:48:25PM +0200, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-04-03 15:29, Oliver Kullmann wrote:
Hello,
I can not replicate your findings, because I don't have such long running heavy tasks. However, after hibernation the scheduling seems right on mine. I use the same session perhaps for weeks, with daily hibernation, and I don't get a slow desktop. I use gnome, though. And frequency adjustment works fine, as far as I can see. I'm on 11.2 still.
I would guess that scheduling is not related to KDE or Gnome, but belongs to the kernel. Perhaps the 11.4 kernel is better?
It might happen that the desktop thinks that if the mouse and keyboard are idling, the computer is idling and slows things down. It is wrong if heavy task are running, of course. Or, it can take the chance to trigger background search jobs, which are disk intensive. You have to disable that, or wait till they finish.
there are no such tasks, of course I check that, and ift would also only be temporarily, not a permanent slowdown. And also not a slowdown, which can actually reach a factor of 30 (5 s after boot-up, now 150 s, without nothing running, no disc access).
Best regards
Oliver
Hi Oliver,
I can't claim you would experience the same thing /but/ fyi to consider:
In December, I upgraded (clean install) from 11.1 x86_64 to 11.3 x86_64 and then 'tweaked' and 'tweaked' and 'tweaked' then reinstalled and 'tweaked' some more until a couple of weeks ago I gave up. I simply could not make 11.3 'fit' this system, for whatever reason.
I bit the bullet and installed 11.4 x86_64.
Holy Cow! It is as though I have gone out and bought a new laptop. The system is not just 'snappy' again, it is lightning fast. And stable. 11.4 has restored my faith.
ymmv of course & regards,
Carl
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Apr 3, 2011 at 12:44 PM, Oliver Kullmann <O.Kullmann@swansea.ac.uk> wrote:
Okay, then I hope that updating will improve things.
I hate to ask, but are you running a 64bit kernel? Just checking.
(I wanted to do this anyway, to give KDE 4 a last chance, before switching to Trinity.)
KDE3 is available for 11.3/11.4. There's a KDE3 mailing list at: http://en.opensuse.org/KDE3#Mailing_list though ymmv. I've had some luck with it. BTW, please bottom post and edit your quotes(we may still have people on dial-up). Thanx -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, Apr 03, 2011 at 10:24:19PM -0400, Larry Stotler wrote:
On Sun, Apr 3, 2011 at 12:44 PM, Oliver Kullmann <O.Kullmann@swansea.ac.uk> wrote:
Okay, then I hope that updating will improve things.
I hate to ask, but are you running a 64bit kernel? Just checking.
yes:
uname -a Linux linux-ubd8 2.6.34.7-0.7-desktop #1 SMP PREEMPT 2010-12-13 11:13:53 +0100 x86_64 x86_64 x86_64 GNU/Linux
(I wanted to do this anyway, to give KDE 4 a last chance, before switching to Trinity.)
KDE3 is available for 11.3/11.4. There's a KDE3 mailing list at:
I guess that's different from Trinity? They are actively working on it (the Trinity guys), and it looks like a very serious effort, to get a *fully* functional desktop (while KDE seems always half-backed -- hah, I guess short before KDE 4 will finally be fully functional they will have to update to Qt 5, and thus will rewrite everything again).
though ymmv. I've had some luck with it.
BTW, please bottom post and edit your quotes(we may still have people on dial-up). Thanx
Exactly due to that, in case I have nothing special to say but it's just a general reply, where for completeness still the old material is there, I put it at the top, with a signature, so that it is clear it is finished there --- one can just stop reading there. Oliver -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-04-03 17:33, Oliver Kullmann wrote:
I would guess that scheduling is not related to KDE or Gnome, but belongs to the kernel. Perhaps the 11.4 kernel is better?
The desktop does some tuning. - -- Cheers / Saludos, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk2Yv5AACgkQtTMYHG2NR9Ww1QCghOV7X/ed7aXV/6N82wXg/K9u zD0AmQHnXMRGP4v8be+T0fp3orP0vUBm =8wBz -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
I suggest upgrade if applicable. 2011/4/3 Oliver Kullmann <O.Kullmann@swansea.ac.uk>:
Hello,
finally, the performance of Suse 11.3 (all updates applied) on my laptop (i5 quadcore, 4GB) is so awful, one needs to find out the reasons (or change the distribution, or whatever). I hope I find some help here. According to my experience, it's best to start trying to establish some real facts (which, unfortunately, seems to be already a non-trivial endeavour).
One basic problem, which I already encountered with previous Suse versions, is that the frequency setting doesn't work: after a few days of running, at least one of the four cores will be set to a lower frequency. To eliminate this (but see below) I set in the BIOS "no frequency scaling". The frequency shown in Ksysguard since then is constantly "2,394 MHz" (but this can't be; see below).
Another basic problem is that (reliably) after "sleeping" or "hibernation" the process scheduling doesn't function properly anymore, and typically all processes (whatever the numbers --- I tried hundreds) are scheduled only on two or sometimes even only on one core, while the other two or three cores are idle. Of course, would be great if this malfunction would be treated (finally, I thought Linux would be about speed; apparently these problems don't occur with the windows 7 still on that Laptop (though I don't really run that)). But to ignore that, and for the following I have always rebooted the Laptop (as if it would be windows).
Direct after reboot everything is exactly as it should be. I have various computers, on which I perform (a lot of) scientific computations, where I can measure the times reliably, and the times are as they should be.
But after a few days of running (and I have tasks, which necessarily run over weeks) performance becomes very weak. It doesn't show up on Ksysquard (or top), there the percentages and frequencies are the same, but for example Kde sticks like glue (reaction time for any button press at least a second, and if you wait for another week, it's 5 seconds; scroll bars become unusable).
More reliably, the computations I run become a factor of 5 to 10 (in words, five to ten(!)) slower. Just running one process, memory usage about 50%. So nothing goes on, except that performance is awful.
To make these numbers more trustworthy to the outside world, is there some standard (simple!) Linux tool/command to measure some (very) basic performance? I don't mean an elaborated benchmark set, but just a very simple common program, where people know what the running times should be? The only explanation I have for the slow performance is that the frequency goes down dramatically (without Linux noting it), and that can be demonstrated with something very simple. Of course, I have my own programs to run, and I can write a simple C program, but I guess it would make communication much easier if one would have a standard program.
Hopefully we can shed some light on that.
Thanks for your consideration.
Oliver
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 04.04.2011, Leonardo wrote:
I suggest upgrade if applicable.
Yeah, that's the easy way out. Let the user update, and ignore the problems. I don't know if the problems we had with opensuse 11.3 is related in any way, but all our desktop systems were so slow and unresponsive that they finally got replaced with Fedora 14, which runs as expected. 11.3 was great when installed, but after updating a few weeks later, it was simply too slow to be useful in the working place. From 4 machines, There's only one opensuse machine left, which soon will be replaced, too.. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello,
. . .
Hopefully we can shed some light on that.
Thanks for your consideration.
Oliver
Doubtful this is of any help, but fwiw . . . First, besides disabling scaling in the BIOS, also instruct the kernel to do the same. Add the "cpufreq=no" argument to your boot line. My cpu's are overclocked, and this works at least as far as scaling is concerned. On my Phenom II wkstn, I have also found performance degradation over time. Tools like top, htop, and ksysguard will report much higher cpu consumption than the detail processes sum up to. I have noticed that X will momentarily but repeatedly spike the cpu, and that the pct creeps up. While the only little evidence I've been able to find has been X, with possibly Plasma or Firefox also somehow related, I can't pin it down with certainty. Usually re-starting X resolves, but on occasion I need to re-boot (I suspect to flush memory). Of note is that this behavior continues with different kernels. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Carl Hartung
-
Carlos E. R.
-
dwgallien
-
Heinz Diehl
-
Larry Stotler
-
Leonardo
-
Oliver Kullmann
-
Patrick Shanahan