Re: Why renice not work in OpenBSD?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kevin Chadwick
Date: Wednesday, October 13, 2010 - 2:49 am

On Sun, 10 Oct 2010 23:17:37 +0400
Dmitry-T <Dmitry-T@yandex.ru> wrote:


I have to admit that I was in the middle of a problem when I looked at
this, and got the wrong end of the stick (which process was at
-20). The email with the subject "insecure scheduler in OpenBSD 4.7"
was a much better description. Sorry for that Dmitry. However I do
think you would have had a better response if you had said something
like OpenBSDs service level gurantee is not as good with regard to disk
throughput than repeating openbsd isn't secure.

However I'm not sure that this is even the case as I have been unable
to repeat this problem on i386 without setting the normal user urandom
process to -20, at -5 for example it only uses 50% and the disks stay
the same. When all 4 are at 0 they have around 25% cpu each and
throughput is not affected.

Could this be an issue only for amd64? and possibly other architectures?
This test was done with vmplayer as it was quickest to run the test on.

Actually I've just noticed, for some reason the dd if=/dev/wd0c
of=/dev/null on it's own wants 100% cpu, so probably vmplayer is an
unfair test. Does the sheduler scale each process to a percentage of
what it wants or calls made? i.e 4 processes wanting 100% to 25% each
when they're all at the same nice level.

The interrupt is around 20% using wd0c and 5% using rwd0c.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Why renice not work in OpenBSD?, Kevin Chadwick, (Sun Oct 10, 3:51 am)
Re: Why renice not work in OpenBSD?, Kevin Chadwick, (Sun Oct 10, 6:44 am)
Why renice not work in OpenBSD?, Dmitry-T, (Sun Oct 10, 12:17 pm)
Re: Why renice not work in OpenBSD?, Martin Schröder, (Sun Oct 10, 1:19 pm)
Re: Why renice not work in OpenBSD?, Tomas Bodzar, (Sun Oct 10, 9:46 pm)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Sun Oct 10, 11:54 pm)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Sun Oct 10, 11:56 pm)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 12:27 am)
Re: Why renice not work in OpenBSD?, Claudio Jeker, (Mon Oct 11, 1:13 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 1:45 am)
Re: Why renice not work in OpenBSD?, Bret S. Lambert, (Mon Oct 11, 2:16 am)
Re: Why renice not work in OpenBSD?, Claudio Jeker, (Mon Oct 11, 2:57 am)
Re: Why renice not work in OpenBSD?, Martin Pelikán, (Mon Oct 11, 3:16 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 3:37 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 3:47 am)
Re: Why renice not work in OpenBSD?, Claudio Jeker, (Mon Oct 11, 4:13 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 4:17 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 4:24 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 4:34 am)
Re: Why renice not work in OpenBSD?, David Coppa, (Mon Oct 11, 4:51 am)
Re: Why renice not work in OpenBSD?, Jacob Yocom-Piatt, (Mon Oct 11, 5:12 am)
Re: Why renice not work in OpenBSD?, Jordi Espasa Clofent, (Mon Oct 11, 8:21 am)
Re: Why renice not work in OpenBSD?, Randal L. Schwartz, (Mon Oct 11, 8:29 am)
Re: Why renice not work in OpenBSD?, Michal, (Mon Oct 11, 8:35 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 9:33 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 10:21 am)
Re: Why renice not work in OpenBSD?, Dmitry-T, (Mon Oct 11, 10:26 am)
Re: Why renice not work in OpenBSD?, GP, (Mon Oct 11, 11:02 am)
Re: Why renice not work in OpenBSD?, frantisek holop, (Tue Oct 12, 5:54 am)
Re: Why renice not work in OpenBSD?, Jacob Yocom-Piatt, (Tue Oct 12, 6:33 am)
Re: Why renice not work in OpenBSD?, frantisek holop, (Tue Oct 12, 9:31 am)
Re: Why renice not work in OpenBSD?, Kevin Chadwick, (Wed Oct 13, 2:49 am)