incorrect scheduling attributes set for distributed.net client
Bug #307826 reported by
Mark Rose
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
distributed-net (Ubuntu) |
Fix Released
|
Undecided
|
James E. Stark |
Bug Description
Binary package hint: distributed-net
The package summary says there should be no noticeable slowdown when running the distributed.net client, however, with recent changes in the way the Linux kernel handles process niceness, this is no longer true (processes with nice 19 are no longer entirely preempted). The solution is to set the real time attributes of the process with the chrt command.
This can be accomplished by changing line ~54 in /etc/init.
su daemon -c "$DAEMON $OPTIONS"
to
su daemon -c "chrt -b 0 $DAEMON $OPTIONS"
This changes the scheduling to batch, with the lowest priority.
Changed in distributed-net: | |
assignee: | nobody → jstark-ieee |
status: | New → Confirmed |
To post a comment you must log in.
Fixed in Maverick!
distributed-net (2.9107.516-1) unstable; urgency=low
* Bump Standards-Version to 3.8.4
* New upstream release 2.9107.516 on amd64, x86, ppc, mipsel and sparc.
* Really close #235152 and fix the typo in the changelog (Closes: #235152)
* Switch to dpkg-source 3.0 (quilt) format
* Adjust the .orig.tgz to contin unpacked versions of the upstream
distribution tarballs. This allows dpkg-source to apply the patch
properly.
* Remove the dpatch section from Readme.source.
distributed-net (2.9105.511b-1) unstable; urgency=low
* Bump Standards-Version to 3.8.3
* New upstream 2.9105.511b for ppc (Closes: #235152)
* New upstream 2.9104.510 for i386
* Really drop hppa32
* Adjust debin/watch to allow for letters in version numbers
* Remove all apm/acpi support is distributed.net is supposed to be
able to handle this itself. (LP: 385949)
* Add a README.source
distributed-net (2.9103.509-1) unstable; urgency=low
* New upstream version for i386, amd64, armel, and ia64 (Closes: #518015)
* Acknowledge NMU.
* Drop arm as it is now depricated in Debian.
* Drop hppa since it requires libstdc++.so.3 which is long gone.
* Bumped Standards-Version to 3.8.2 no changes
* Make the logfile to be readable by group adm (LP: 155823)
* Change the realtime scheduling policy to SCHED_BATCH (LP: 307826)
* Use invoke-rc.d to call the init script instead of calling it directly
-- Ubuntu Archive Auto-Sync <email address hidden> Sun, 09 May 2010 21:04:16 +0100