[Bug 307826] [NEW] incorrect scheduling attributes set for distributed.net client

Mark Rose markrose at markrose.ca
Sun Dec 14 05:40:50 UTC 2008


Public bug reported:

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.d/distributed-net from:
su daemon -c "$DAEMON $OPTIONS"
to
su daemon -c "chrt -b 0 $DAEMON $OPTIONS"

This changes the scheduling to batch, with the lowest priority.

** Affects: distributed-net (Ubuntu)
     Importance: Undecided
         Status: New

-- 
incorrect scheduling attributes set for distributed.net client
https://bugs.launchpad.net/bugs/307826
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list