Poelzi
I just want to thank you for your answers, I'm satisfied with them... thanks
Announcement
Collapse
No announcement yet.
ULatencyD Enters The Linux World
Collapse
X
-
Originally posted by TiborB View Post1) What if I start (by mistake or by chance) second instance of ulatencyd?
Originally posted by TiborB View Post2) what if there are two Xservers run on one box?
Originally posted by TiborB View Post3) I must admit I'm not much familiar with cgroups and even what exactly your tool is doing. So I dont understand how your tool knows which application is "good" and which is "bad". For example, how it distinguishes opera from linuxdcpp or from some mp3 playing program... The active windows is not allways the right test, because mp3 player might not be in active window yet it needs some preference. Or do you have some list of applications split into some groups?
I documented the default scheduler. As you can see, it does not say: this process is bad, but tries to find groups that belong together and gives each group an amount of cpu shares. As opposed the normal: each process gets the same amount of cpu share.
The rules in rules/media.lua schould set a flag on your mp3 program, so it gets more cpu share because it fits the requirements of the media group.
Originally posted by TiborB View Post4) Do you trust ulatencyd that it would not do any serious harm? In other words, can I put it in the list of services started after boot of my box?
Originally posted by TiborB View Post5) Is it possible to measure effect of ulatencyd? Probably not I think...
I personally find by desktop much more smoother when it's running.
Originally posted by TiborB View PostFor your information - perhaps you can mentioned it somewhere - I found that for Arch Linux two PKGBUILDS were created in AUR (arch linux users will understand what it means) - ulatencyd and ulatencyd-git (http://aur.archlinux.org/packages.php)
Leave a comment:
-
Originally posted by kbios View PostHi, I would like to try ULatencyD, but on the FAQ I read "You will not be able to run a different cgroups agent in parallel." Does this mean I will have problems with the linux-containers I'm using?
Thanks
Leave a comment:
-
Originally posted by TiborB View PostERROR: Unknown user-defined format specifier "cgroup".
Probably my ps is not new enough, ps -V returns:
procps version 3.2.8
This is neither your problem nor big problem, but some users can also run into this.... I just note that I have up-to-date arch linux
Once i get time to write user programs i will add something that shows that :-)
Leave a comment:
-
sorry for double post, it was confused because the first one did not show up immediately after I posted it..
I have small comment to your FAQ 1.1. Your command returns here
ERROR: Unknown user-defined format specifier "cgroup".
Probably my ps is not new enough, ps -V returns:
procps version 3.2.8
This is neither your problem nor big problem, but some users can also run into this.... I just note that I have up-to-date arch linux
Leave a comment:
-
Hi Poelzi,
thanks for you prompt respond.
I installed today's version and indeed it is more verbose. Also, I started it from within Xserver and no crash this time.
I have another questions...
1) What if I start (by mistake or by chance) second instance of ulatencyd?
2) what if there are two Xservers run on one box?
3) I must admit I'm not much familiar with cgroups and even what exactly your tool is doing. So I dont understand how your tool knows which application is "good" and which is "bad". For example, how it distinguishes opera from linuxdcpp or from some mp3 playing program... The active windows is not allways the right test, because mp3 player might not be in active window yet it needs some preference. Or do you have some list of applications split into some groups?
4) Do you trust ulatencyd that it would not do any serious harm? In other words, can I put it in the list of services started after boot of my box?
5) Is it possible to measure effect of ulatencyd? Probably not I think...
So these are my questions that accumulated in my head during the day
For your information - perhaps you can mentioned it somewhere - I found that for Arch Linux two PKGBUILDS were created in AUR (arch linux users will understand what it means) - ulatencyd and ulatencyd-git (http://aur.archlinux.org/packages.php)
That is all I have, thanks
Tibor
Leave a comment:
-
Hi Poelzi,
thanks for you prompt respond.
I installed today's version and indeed it is more verbose. Also, I started it from within Xserver and no crash this time.
I have another questions...
1) What if I start (by mistake or by chance) second instance of ulatencyd?
2) what if there are two Xservers run on one box?
3) I must admit I'm not much familiar with cgroups and even what exactly your tool is doing. So I dont understand how your tool knows which application is "good" and which is "bad". For example, how it distinguishes opera from linuxdcpp or from some mp3 playing program... The active windows is not allways the right test, because mp3 player might not be in active window yet it needs some preference. Or do you have some list of applications split into some groups?
4) Do you trust ulatencyd that it would not do any serious harm? In other words, can I put it in the list of services started after boot of my box?
5) Is it possible to measure effect of ulatencyd? Probably not I think...
So these are my questions that accumulated in my head during the day
For your information - perhaps you can mentioned it somewhere - I found that for Arch Linux two PKGBUILDS were created in AUR (arch linux users will understand what it means) - ulatencyd and ulatencyd-git (http://aur.archlinux.org/packages.php)
That is all I have, thanks
Tibor
Leave a comment:
-
Originally posted by poelzi View PostThat depends. If you are running it inside a container und the container system allows you to use cgroups, that should be fine.
If it is run on the host, you surely need a new scheduler configuration that takes into account that a process never ever gets moved outside the container it was created. I never looked into the namespace stuff, so i can honestly say: i don't know.
In general, it can work, at least it can be configured that way :-)
Leave a comment:
-
Originally posted by kbios View PostHi, I would like to try ULatencyD, but on the FAQ I read "You will not be able to run a different cgroups agent in parallel." Does this mean I will have problems with the linux-containers I'm using?
Thanks
If it is run on the host, you surely need a new scheduler configuration that takes into account that a process never ever gets moved outside the container it was created. I never looked into the namespace stuff, so i can honestly say: i don't know.
In general, it can work, at least it can be configured that way :-)
Leave a comment:
Leave a comment: