[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-10-06 Thread JuRiJ
Hi guys, I had same problem with CFS + BOINC + pulseaudio on my Pentium 4 HT 
2.8GHz. The trouble was caused by using schedtool to run BOINC. After I removed 
it (sudo aptitude purge schedtool), there was no pulseaudio stuttering (despite 
pulseaudio is using 20% of my CPU... which is IMHO pretty high). This bug is 
100% reproducible on Debian with 2.6.26 kernels. I have default pulseadio 
config (and changed only number of default-output-channels from 2 to  6), and 
while listening to music (running audacious audio player with pulse output), 
and running BOINC at the same time I have no stuttering. Then if I install 
schedtool (sudo aptitude install schedtool)  and restart BOINC (sudo 
/etc/init.d/boinc-client restart) the music starts to lag, skip etc... then 
removing schedool (sudo aptitude purge schedtool) and restarting BOINC again 
makes the music run fine (e.g. no stuttering and skips).
I'm not 100% sure this will help you guys with Ubuntu systems, but since Debian 
and Ubuntu are pretty close, I think it could be the same problem...
Schedtool isn't installed by default on Debian(same for Ubuntu), but it 
happened that I used it to run BOINC, before 2.6.24 kernel with CFS was 
released...

PS: this bug isn't related to CONFIG_FAIR_USER_SCHED, where all users
have same priority and it slows systems with BOINC running, because
BOINC is running under boinc user, which has 50% of CPU share. It's for
those who got sound issues, even after using kernels with
CONFIG_FAIR_USER_SCHED turned off...

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-26 Thread Bug Watch Updater
** Changed in: boinc (Debian)
   Status: New = Fix Released

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-02 Thread Daniel Hahler
** Changed in: linux (Ubuntu)
Sourcepackagename: linux-source-2.6.24 = linux

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-02 Thread Daniel Hahler
Dana, the linux task has been invalidated before.
Please refer to bug 188226 to improve the default kernel behaviour.
I just wanted to provide the workaround for boinc, which I'm using myself.
Dhaval has asked me to use the uevents interface instead, so I'll do a new 
upload for boinc later, which works around it by providing a udev rules file:
SUBSYSTEM==kernel, DEVPATH==/kernel/uids/*, ACTION==add, 
RUN+=/usr/lib/boinc-client/udev-usr_share
and a script to check if it's the boinc user's uid and assign the cpu_share 
accordingly (/usr/lib/boinc-client/udev-usr_share).

Like said before, this is only meant as a workaround for now and no
option for downloaded programs like e.g. [EMAIL PROTECTED] Let's wait for
a decision from the ubuntu-kernel team (other bug). Thanks.

** Changed in: linux (Ubuntu)
   Status: New = Invalid

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-02 Thread DanaGoyette
Aah, okay.  Perhaps this bug just needs to be renamed back to being
specific to 'boinc' again, and not marked fixed yet since it's not yet a
'proper' fix.

I can confirm, by installing the old .22 kernel, that the audio dropouts
only happen with the new .24 kernel.  It's especially noticeable with
timidity (not as daemon) -- when PulseAudio drops out, the application
itself stalls.  In addition, with the old kernel, my folding tasks no
longer slow down my compiz-fusion desktop.  Should I add comments to the
linked bug 188226 ?

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-01 Thread Daniel Hahler
Marking it as invalid, not really a bug with boinc.

** Changed in: boinc (Ubuntu)
   Status: Confirmed = Incomplete

** Changed in: boinc (Ubuntu)
   Status: Incomplete = Invalid

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-01 Thread Daniel Hahler
** Changed in: boinc (Ubuntu)
 Assignee: (unassigned) = Daniel Hahler (blueyed)
   Status: Invalid = In Progress

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-01 Thread Daniel Hahler
I've filed a new bug 188226 for linux: Kernel should use 
CONFIG_FAIR_CGROUP_SCHED.
I'll upload a workaround for boinc to adjust the cpu_share to 2 in the init 
script until this gets resolved for the kernel.

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-01 Thread Launchpad Bug Tracker
This bug was fixed in the package boinc - 5.10.30-5ubuntu1

---
boinc (5.10.30-5ubuntu1) hardy; urgency=low

  * debian/patches/ubuntu_temp_cfs_fix.patch:
Temporary workaround for the new CFS Linux scheduler,
by adjusting the boinc user's cpu_share to the minimum (2)
in the init script (LP: #177713)
  * Modify Maintainer value to match the DebianMaintainerField
specification.

 -- Daniel Hahler [EMAIL PROTECTED]   Sat, 02 Feb 2008 02:48:01 +0100

** Changed in: boinc (Ubuntu)
   Status: In Progress = Fix Released

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-02-01 Thread DanaGoyette
I'm adding an assignment to linux-source-2.6.24, because working around
the bug in boinc does not fix the underlying cause.

In addition to the [EMAIL PROTECTED] issues, I've also noticed dropouts /
skipping in PulseAudio upon doing things such as closing my laptop lid;
under the 2.6.22 kernel, I never (or at least rarely) had such issues.
I am in the pulse-rt group, so it should be running with realtime
priority.

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-01-27 Thread Daniel Hahler
** Changed in: boinc (Ubuntu)
 Assignee: Daniel Hahler (blueyed) = (unassigned)

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 177713] Re: CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes

2008-01-21 Thread onyxrev
One temporary solution to avoid ditching boinc or folding for those who
ran two processes on a dual core system is to run one process.  You'll
lose some efficiency, yes, but the system doesn't become a hog.

-- 
CFS in 2.6.24 kernel needs cpu_share adjustment for niced processes
https://bugs.launchpad.net/bugs/177713
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs