You are not logged in.
Pages: 1
Hi to all,
Some time ago I started getting the impression that my system was getting more and more unresponsive.
At first I though it was just an impression when something that I haven't seen in a long time happened: I was compiling something at work (I'm a software dev) while listening to some music when, all of the sudden, the audio starts to hick.
Again at first I thought it might be a disk read starvation problem and ignored the problem once more.
Further kernel releases only made this worse to the point that I today compiled linux-bfs and give it another try, that to my surprise, made all my problems go away.
Is anyone else experiencing this kind of latency problems?
Offline
Well alot of people (me included) have had stuttering when copying large files etc and that's a well know problem but I haven't noticed it getting worse in any way, in fact I feel that it's gotten better in kernel 3.2 but that may just be a placebo effect. And yes, I've had a Linux bfs-bfq alternate kernel before and there was a very noticeable difference, and if you find the stuttering really annoying then that is a good solution.
Offline
I am feeling the quite opposite.My copy speeds have increased since 3.2 upgrade, by a significant difference.
Offline
# echo madvise > /sys/kernel/mm/transparent_hugepage/enabled # https://bbs.archlinux.org/viewtopic.php?id=112846
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Online
My issue isn't with data I/O starvation, but with CPU intensive tasks clogging "real time" tasks such as amarok playing something.
I do a lot of compiling over the day while listening. And it got overly difficult to do just that with the newer releases.
PS. I just upgraded to 3.2.2 I'll reboot into it in and retest...
Offline
Have you tried a bfs patched kernel suck as Linux-ck?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Online
Have you tried a bfs patched kernel suck as Linux-ck?
Yes yesterday, before posting this thread. And the results were noticeable, for example at:
1) Music didn't glitched when compiling;
2) Netbeans menus were keeping pace with mouse hovering over them;
I'm currently compiling the latest linux-bfs update (using arch's stock kernel) and amarok is once again glitching with an average of 3x~4x per song.
Offline
Interesting... Under 3.1 or 3.0?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Online
Using up to date arch stock kernel.
Linux Zeferino 3.2.2-1-ARCH #1 SMP PREEMPT Thu Jan 26 08:40:20 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz GenuineIntel GNU/Linux
Offline
No, I mean did 3.0 or 3.1 NOT do this?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Online
Is anyone else experiencing this kind of latency problems?
I expect everyone is. They just assume it's normal.
Just using a better scheduler is not the final answer.
You should set the priority (both CPU and I/O) for music higher, and for compilations lower. Like I do.
Offline
Hi brebs, thanks for the links and I will look into those forum tips.
I have a small perception on the scheduler "war" between CK vs Molnar schedulers, and there was a time where I've noticed BFS wasn't bringing anything new against CFS. And so I've rollback to arch's stock kernel.
Now, back to my problem, with BFS patched kernel I don't have to set anything. It just works. I can have two "make -j2" that amarok doesn't glitch, and still maintain a good latency level in the KDE/chromium/...
I will test the ionice since my work laptop has a quite slow hard drive and it may help in some cases where I'm copying something and keep getting read starvation almost making the system unusable.
Offline
back to my problem
File a kernel bug
They'll probably tell you to set up cgroups.
Offline
Exactly... "my problem", that's why I'm querying the forum for similar experiences. Otherwise is just my problem :\
Offline
querying the forum for similar experiences. Otherwise is just my problem :\
Of course it's not just you. Would a bunch of "me too"s make you happy? You're asking the question wrongly - just use the search button better, to see other people with similar moans.
This problem is *inevitable*, even with BFS, when people don't use nice & ionice properly, if their system load is sufficiently high.
So, use nice & ionice properly, and the problem is solved, regardless of occasional scheduler tweaks.
Offline
Try this and do some heavy loads.
sudo renice -n -2 -u $USER
To make it permanant, add this to /etc/security/limits.conf
username - priority -2
This one line has made more of an impact than all these for me.
kernel-ck
kernel-pf
ionice
verynice
deadline
noop
For a desktop, I think this is the way it should be. User apps should have a bit higher priority than roots. I want firefox to be more respnsive than avahi, updatedb, cron jobs, or any type of transfer. It even helps with gnome-shell's menu startup.
Offline
Pages: 1