Don't compare OpenBSD and Linux, because OpenBSD and Linux are made differently. As claudio mentioned nice make sense *only* for CPU tasks, not IO tasks. So if you don't like it keep using Linux, otherwise you must live with how OpenBSD is doing things.
On 10/11/2010 6:37 AM, Dmitry-T wrote: > 11.10.10, 13:57, "Claudio Jeker" <[email protected]>: > >> > After run "dd if=/dev/urandom of=/dev/null" >> > first three "dd if=/dev/wd0c of=/dev/null bs=1m" reduce their part of CPU >> and >> > run "renice" not recover their part of CPU. >> >> CPU consumed by the kernel is not accounted by the scheduler. All the >> work done by urandom is system time. > > It is strange... not well and not securely. > In Linux (test 2.6.35): > - run "dd if=/dev/urandom of=/dev/null" not change read speed from disk > - renice 20 for first three "dd if=/dev/wd0c of=/dev/null bs=1m" and > renice -5 for "dd if=/dev/urandom of=/dev/null" change throughput from 30Mb/s > to 5Mb/s > - renice -20 for "dd if=/dev/urandom of=/dev/null" slows the system, but not > freeze > -- GP

