Re: Why renice not work in OpenBSD?

2010-10-13 Thread Kevin Chadwick
load CPU and database or another servers lost speed in disk operations. In Linux (test on 2.6.35 libre) renice work correct... Why renice not work in OpenBSD? -- Dmitry Telegin I have to admit that I was in the middle of a problem when I looked at this, and got the wrong end

Re: Why renice not work in OpenBSD?

2010-10-12 Thread frantisek holop
hmm, on Mon, Oct 11, 2010 at 07:12:57AM -0500, Jacob Yocom-Piatt said that use linux, you are clearly a moron, it will suit you better. your civility on this mailing list is decreasing by the day. it was much better when you started. perhaps now you feel you earned some right to call people

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Jacob Yocom-Piatt
On 10/12/10 07:54, frantisek holop wrote: hmm, on Mon, Oct 11, 2010 at 07:12:57AM -0500, Jacob Yocom-Piatt said that use linux, you are clearly a moron, it will suit you better. your civility on this mailing list is decreasing by the day. it was much better when you started. perhaps now you

Re: Why renice not work in OpenBSD?

2010-10-12 Thread frantisek holop
hmm, on Tue, Oct 12, 2010 at 08:33:55AM -0500, Jacob Yocom-Piatt said that trolls abound on this list, you can count yourself amongst their numbers. why not harass any of the other people who, like me, were rightly critical of dmitry? you do it because you are a troll. i know, asking for a bit

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Theo de Raadt
On Mon, Oct 11, 2010 at 12:45:39PM +0400, Dmitry-T wrote: 11.10.10, 12:13, Claudio Jeker cje...@diehard.n-r-g.com: You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU bound. Yes of course, but... all my dd processes use CPU.

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Dmitry-T
12.10.10, 20:46, Theo de Raadt dera...@cvs.openbsd.org: On Mon, Oct 11, 2010 at 12:45:39PM +0400, Dmitry-T wrote: 11.10.10, 12:13, Claudio Jeker : You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU bound. Yes

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Matthew Dempsky
On Tue, Oct 12, 2010 at 1:15 PM, Dmitry-T dmitr...@yandex.ru wrote: Have OpenBSD non-preemptible kernel code? OpenBSD kernel code running in process context (i.e., kernel threads and user processes running system calls) cannot preempt one another. However, interrupts may preempt processes or

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Ted Unangst
On Tue, Oct 12, 2010 at 4:27 PM, Matthew Dempsky matt...@dempsky.org wrote: On Tue, Oct 12, 2010 at 1:15 PM, Dmitry-T dmitr...@yandex.ru wrote: Have OpenBSD non-preemptible kernel code? OpenBSD kernel code running in process context (i.e., kernel threads and user processes running system

Re: Why renice not work in OpenBSD?

2010-10-12 Thread Dmitry-T
13.10.10, 00:27, Matthew Dempsky matt...@dempsky.org: On Tue, Oct 12, 2010 at 1:15 PM, Dmitry-T wrote: Have OpenBSD non-preemptible kernel code? OpenBSD kernel code running in process context (i.e., kernel threads and user processes running system calls) cannot preempt one another.

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 08:46, Tomas Bodzar tomas.bod...@gmail.com: 1) BSDanywhere is not OpenBSD http://bsdanywhere.org/faq What is the primary focus of BSDanywhere? A mostly __unmodified__ OpenBSD kernel and userland My test very simple, please test your system. Is your original OpenBSD show

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 00:19, Martin SchrC6der mar...@oneiros.de: 2010/10/10 Dmitry-T : load from livecd bsdanywhere46-amd64 Then go to http://bsdanywhere.org/mailinglists and complain there. My test very simple, please test your system. Is your original OpenBSD show identical results? -- Dmitry

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 08:46, Tomas Bodzar tomas.bod...@gmail.com: 6) Did you test it on real OpenBSD, real HW and latest release or snapshot? I'm search stable and secure OS. I'm test: my work Mac OS X 10.6.3, FreeBSD 8.1 on livecd frenzy-1.3-ju-release-rus, my home Linux Debian - renice work more

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Claudio Jeker
and database or another servers lost speed in disk operations. In Linux (test on 2.6.35 libre) renice work correct... Why renice not work in OpenBSD? This is not how scheduling priorities work. You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 12:13, Claudio Jeker cje...@diehard.n-r-g.com: You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU bound. Yes of course, but... all my dd processes use CPU. After run dd if=/dev/urandom of=/dev/null first three dd if=/dev/wd0c

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Bret S. Lambert
On Mon, Oct 11, 2010 at 12:45:39PM +0400, Dmitry-T wrote: 11.10.10, 12:13, Claudio Jeker cje...@diehard.n-r-g.com: You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU bound. Yes of course, but... all my dd processes use CPU. After

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Claudio Jeker
On Mon, Oct 11, 2010 at 12:45:39PM +0400, Dmitry-T wrote: 11.10.10, 12:13, Claudio Jeker cje...@diehard.n-r-g.com: You try to renice I/O bound processes. The scheduler priority only matters when processes are CPU bound. Yes of course, but... all my dd processes use CPU. After

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Martin Pelikán
2010/10/11, Claudio Jeker cje...@diehard.n-r-g.com: CPU consumed by the kernel is not accounted by the scheduler. All the work done by urandom is system time. And for the curious people who can't see the obvious: why is that? -- Martin Pelikan

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 13:57, Claudio Jeker cje...@diehard.n-r-g.com: 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.

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Kevin Chadwick
On Mon, 11 Oct 2010 11:27:45 +0400 Dmitry-T dmitr...@yandex.ru wrote: 11.10.10, 08:46, Tomas Bodzar tomas.bod...@gmail.com: 6) Did you test it on real OpenBSD, real HW and latest release or snapshot? http://bsdanywhere.org/faq What is the primary focus of BSDanywhere? A mostly

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Claudio Jeker
On Mon, Oct 11, 2010 at 12:16:19PM +0200, Martin Pelikan wrote: 2010/10/11, Claudio Jeker cje...@diehard.n-r-g.com: CPU consumed by the kernel is not accounted by the scheduler. All the work done by urandom is system time. And for the curious people who can't see the obvious: why is that?

Re: Why renice not work in OpenBSD?

2010-10-11 Thread GP
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:

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
10.10.10, 14:51, Kevin Chadwick ma1l1i...@yahoo.co.uk: It is not secure. One script or program may load CPU and database or another servers lost speed in disk operations. Even if renice did have that affect you need to be root to drop it to -20 so why shouldn't root be able to use all

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 22:02, GP l...@nnt.lt: 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. I

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 15:13, Claudio Jeker cje...@diehard.n-r-g.com: On Mon, Oct 11, 2010 at 12:16:19PM +0200, Martin Pelikan wrote: 2010/10/11, Claudio Jeker : CPU consumed by the kernel is not accounted by the scheduler. All the work done by urandom is system time. And for the curious

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 13:16, Bret S. Lambert bret.lamb...@gmail.com: Yes of course, but... all my dd processes use CPU. 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. numbers

Re: Why renice not work in OpenBSD?

2010-10-11 Thread David Coppa
On Mon, Oct 11, 2010 at 1:34 PM, Dmitry-T dmitr...@yandex.ru wrote: In FreeBSD and Mac OS X run dd if=/dev/urandom of=/dev/null not change read speed from disk... Is in OpenBSD lacks developers? Maybe. But it doesn't lack moronic whiners on its mailing lists, that's for sure! -david-

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Jacob Yocom-Piatt
On 10/11/10 02:27, Dmitry-T wrote: 11.10.10, 08:46, Tomas Bodzartomas.bod...@gmail.com: 6) Did you test it on real OpenBSD, real HW and latest release or snapshot? I'm search stable and secure OS. I'm test: my work Mac OS X 10.6.3, FreeBSD 8.1 on livecd frenzy-1.3-ju-release-rus, my home

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Kevin Chadwick
On Mon, 11 Oct 2010 15:34:22 +0400 Dmitry-T dmitr...@yandex.ru wrote: 11.10.10, 15:13, Claudio Jeker cje...@diehard.n-r-g.com: On Mon, Oct 11, 2010 at 12:16:19PM +0200, Martin Pelikan wrote: 2010/10/11, Claudio Jeker : CPU consumed by the kernel is not accounted by the scheduler.

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Jordi Espasa Clofent
Read again and again Claudio's responses until you really understand. The key is there. -- I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Randal L. Schwartz
Dmitry-T == Dmitry-T dmitr...@yandex.ru writes: Dmitry-T Is in OpenBSD lacks developers? That might as well be the last message you post here. Any little help you would get, you've just offended them. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Michal
Dmitry-T Is in OpenBSD lacks developers? That might as well be the last message you post here. Any little help you would get, you've just offended them. reading his e-mails, I don't think he is trying to be offensive, I think his English is just poor

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
thank you 11.10.10, 23:43, GP l...@nnt.lt: As far as I know this is not possible. On 10/11/2010 7:24 AM, Dmitry-T wrote: 11.10.10, 22:02, GP : Don't compare OpenBSD and Linux, because OpenBSD and Linux are made differently. As claudio mentioned nice make sense *only* for CPU

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 19:29, Randal L. Schwartz mer...@stonehenge.com: Dmitry-T == Dmitry-T writes: Dmitry-T Is in OpenBSD lacks developers? That might as well be the last message you post here. Any little help you would get, you've just offended them. I did not want to offend. Maybe the

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 19:35, Michal mic...@sharescope.co.uk: Dmitry-T Is in OpenBSD lacks developers? That might as well be the last message you post here. Any little help you would get, you've just offended them. reading his e-mails, I don't think he is trying to be offensive, I think

Why renice not work in OpenBSD?

2010-10-10 Thread Dmitry-T
on 2.6.35 libre) renice work correct... Why renice not work in OpenBSD? -- Dmitry Telegin

Re: Why renice not work in OpenBSD?

2010-10-10 Thread Martin Schröder
2010/10/10 Dmitry-T dmitr...@yandex.ru: load from livecd bsdanywhere46-amd64 Then go to http://bsdanywhere.org/mailinglists and complain there. Best Martin

Re: Why renice not work in OpenBSD?

2010-10-10 Thread Tomas Bodzar
- throughput not change! For check renice, run renice -20 for last dd - OpenBSD froze, even mouse. It is not secure. One script or program may load CPU and database or another servers lost speed in disk operations. In Linux (test on 2.6.35 libre) renice work correct... Why renice not work