Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 00:19, "Martin SchrC6der" : > 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 Telegin

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 08:46, "Tomas Bodzar" : > 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 correct. Why renice algor

Re: help on maximum performance from alix 1d

2010-10-11 Thread Stuart Henderson
Someone else replied offlist which I thought was worth responding to here, >On 2010-10-10, Stuart Henderson wrote: >> On 2010-10-09, Dimitar Vassilev wrote: >>> Hi guys, >>> I got the following setup >>> bridge2 gig >>> switches---home la

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Claudio Jeker
On Sun, Oct 10, 2010 at 11:17:37PM +0400, Dmitry-T wrote: > My test OpenBSD: > > load from livecd bsdanywhere46-amd64 > > in different consoles: > > dd if=/dev/wd0c of=/dev/null bs=1m > dd if=/dev/wd0c of=/dev/null bs=1m > dd if=/dev/wd0c of=/dev/null bs=1m > iostat > top > > run: > dd if=/dev/

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
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 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

Re: help on maximum performance from alix 1d

2010-10-11 Thread Dimitar Vassilev
2010/10/11 Stuart Henderson : > Someone else replied offlist which I thought was worth responding > to here, > >>On 2010-10-10, Stuart Henderson wrote: [snip] >>> The CPU and chipset are way too slow to handle wire-speed gigabit. >>> You'll be better off with an Atom, VIA, or probably even a 350MH

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" : > > > 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=

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" : > > > 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=

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Martin Pelikán
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 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" : > > 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

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Kevin Chadwick
On Mon, 11 Oct 2010 11:27:45 +0400 Dmitry-T wrote: > 11.10.10, 08:46, "Tomas Bodzar" : > > > 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 __unmodified__ OpenBSD kernel and userlan

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 : > > 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? > Because that's

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: > 11.

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
10.10.10, 14:51, "Kevin Chadwick" : > >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 resources, r

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
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 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 unders

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 15:13, "Claudio Jeker" : > 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 people who c

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 13:16, "Bret S. Lambert" : > > 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 o

Re: Why renice not work in OpenBSD?

2010-10-11 Thread David Coppa
On Mon, Oct 11, 2010 at 1:34 PM, Dmitry-T 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 Bodzar": 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

quick EuroBSDCon report

2010-10-11 Thread Marc Espie
Nice event. Hotel probably ways too expensive, but since I paid for it with my time and my talks, I didn't care all that much. Surprisingly, just one NetBSD talk (Alistair Crooks). Where did they hide ? Do they still think it's a FreeBSD conference masquerading as an open forum ? Lots of stuff

Re: quick EuroBSDCon report

2010-10-11 Thread Peter N. M. Hansteen
Marc Espie writes: > Nice event. Yes, definitely. It turned out very nice, with more OpenBSD content than the last few had, and high quality stuff at that. This reminds me I forgot to spam misc@ about my own conference report, it's up at http://bsdly.blogspot.com/2010/10/eurobsdcon-2010-fines

Re: Netbook for OpenBSD?

2010-10-11 Thread Mikle Krutov
On Thu, Oct 07, 2010 at 01:54:19AM +, Mikle Krutov wrote: > Hello, list! > I'm a FreeBSD user (a very little experience with openbsd in the past), > but i'm kind of interested in any bsd flavour (i like *nix, but dislike > linux for some reasons). > So, the question is if there is any positiv

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Kevin Chadwick
On Mon, 11 Oct 2010 15:34:22 +0400 Dmitry-T wrote: > 11.10.10, 15:13, "Claudio Jeker" : > > > 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 ur

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 remai

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Randal L. Schwartz
> "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. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge

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" : > 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

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 19:29, "Randal L. Schwartz" : > > "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 reaso

Re: Why renice not work in OpenBSD?

2010-10-11 Thread Dmitry-T
11.10.10, 19:35, "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 En

Re: quick EuroBSDCon report

2010-10-11 Thread Matthias Ochs
Am 11.10.10 15:57, schrieb Peter N. M. Hansteen: Marc Espie writes: Nice event. Yes, definitely. It turned out very nice, with more OpenBSD content than the last few had, and high quality stuff at that. Indeed. Very nice weekend. And thanks to Peter for a very useful pf tutorial. Also

OpenBSD & Xen Server & Watchdog Timeout & PCI Passthrough

2010-10-11 Thread Keith
I'm trying to get a working OBSD virtual machine with networking working as a DomU in a xen server but keep coming up again network Watchdog Timeout errors. So I spent today trying to get PCI pass-though working with Xen and OBSD with the belief that if I could get some network cards into the

Re: quick EuroBSDCon report

2010-10-11 Thread Henning Brauer
* Marc Espie [2010-10-11 15:25]: > Nice event. yup. > Hotel probably ways too expensive, but since I paid for it with my time and > my talks, I didn't care all that much. it is actually in the same league as usual. > Surprisingly, just one NetBSD talk (Alistair Crooks). Where did they hide ?

insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Dmitry-T
I'm install OpenBSD 4.7 (dmesg attached) uname -a OpenBSD d1.my.domain 4.7 GENERIC#112 amd64 Run as root: dd if=/dev/wd0c of=/dev/null bs=1m & dd if=/dev/wd0c of=/dev/null bs=1m & dd if=/dev/wd0c of=/dev/null bs=1m & top load averages: 3.12, 2.50, 1.4916:54:08 37 processes: 36 idle, 1 o

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Ted Unangst
On Mon, Oct 11, 2010 at 4:41 PM, Dmitry-T wrote: > Run as _normal user_: > dd if=/dev/urandom of=/dev/null > It is not secure. One user script or program may load CPU and > database or another servers lost speed in disk operations. > This is hole for DOS attacks in OpenBSD design. > > How you use

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Martin Schröder
2010/10/11 Dmitry-T : > How you use the OpenBSD as web servers and hosting platform? RTFAQ > Permanently catch and kill processes? man ulimit Best Martin

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Dmitry-T
12.10.10, 00:54, "Ted Unangst" : > On Mon, Oct 11, 2010 at 4:41 PM, Dmitry-T wrote: > > Run as _normal user_: > > dd if=/dev/urandom of=/dev/null > > > It is not secure. One user script or program may load CPU and > > database or another servers lost speed in disk operations. > > This is h

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Henning Brauer
* Dmitry-T [2010-10-11 22:45]: > How you use the OpenBSD as web servers and hosting platform? > Permanently catch and kill processes? you have repeatedly demonstrated that you plain don't understand a) UNIX b) the numbers you see c) the fact that a computer has more ressources than a freakin' CPU

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Firas Kraiem
On 11/10/2010 23:12, Dmitry-T wrote: > 12.10.10, 00:54, "Ted Unangst" : > >> On Mon, Oct 11, 2010 at 4:41 PM, Dmitry-T wrote: >> > Run as _normal user_: >> > dd if=/dev/urandom of=/dev/null >> >> > It is not secure. One user script or program may load CPU and >> > database or another server

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Dmitry-T
12.10.10, 00:59, "Martin SchrC6der" : > 2010/10/11 Dmitry-T : > > How you use the OpenBSD as web servers and hosting platform? > > RTFAQ I'm search "hosting" in FAQ and find only 14.18 - Optimizing disk performance > > Permanently catch and kill processes? > > man ulimit It is not a p

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Dmitry-T
12.10.10, 01:22, "Firas Kraiem" : > You're the naive one. If a user can DOS the system just by doing dd, it > means the system's policy is very weak, so the user can probably just as > well throw a forkbomb. dd only example. Look around: Linux, Mac OS X, FreeBSD... why defend a design error?

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Gilles Chehade
On Tue, Oct 12, 2010 at 02:09:58AM +0400, Dmitry-T wrote: > 12.10.10, 01:22, "Firas Kraiem" : > > > You're the naive one. If a user can DOS the system just by doing dd, it > > means the system's policy is very weak, so the user can probably just as > > well throw a forkbomb. > > dd only exampl

Re: Netbook for OpenBSD?

2010-10-11 Thread Mikle Krutov
On Mon, Oct 11, 2010 at 06:34:20PM +, Mikle Krutov wrote: > 1) I've bought Acer Aspire One 531 as recommended. Everything works OK. > (except for Yota) Not only for yota after some time of actual using: netbook warms up fast as hell even after apm -L zzz (& apm -S & apm -z) does not suspend i

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Brad Tilley
On 10/11/2010 04:59 PM, Martin Schrvder wrote: > 2010/10/11 Dmitry-T : >> How you use the OpenBSD as web servers and hosting platform? > > RTFAQ > >> Permanently catch and kill processes? > > man ulimit What do you see when you man ulimit? > Best >Martin

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Fred Crowson
On 11 October 2010 23:49, Brad Tilley wrote: > On 10/11/2010 04:59 PM, Martin Schrvder wrote: >> 2010/10/11 Dmitry-T : >>> How you use the OpenBSD as web servers and hosting platform? >> >> RTFAQ >> >>> Permanently catch and kill processes? >> >> man ulimit > > What do you see when you man ulimit?

Re: Netbook for OpenBSD?

2010-10-11 Thread Дмитрий Царьков
On Tue, Oct 12, 2010 at 4:32 AM, Mikle Krutov wrote: > Not only for yota after some time of actual using: > netbook warms up fast as hell even after apm -L > zzz (& apm -S & apm -z) does not suspend it > At least, out of box. > Dmitry, do you have the same problems? No. Mine is generally always o

Re: Netbook for OpenBSD?

2010-10-11 Thread Дмитрий Царьков
On Tue, Oct 12, 2010 at 4:32 AM, Mikle Krutov wrote: > Not only for yota after some time of actual using: > netbook warms up fast as hell even after apm -L > zzz (& apm -S & apm -z) does not suspend it > At least, out of box. > Dmitry, do you have the same problems? No temperature issues. My avar

Re: insecure scheduler in OpenBSD 4.7

2010-10-11 Thread Tomas Bodzar
First of all people don't use NVIDIA crap for hosting platform (or any other use). Or at least they try to avoid it as much as possible. As you can see in your dmesg you have quite a lot of unsupported parts of HW (or badly working/set). It's fault of other OSs' that NVIDIA plays game about "avail

iMex 5a. Edición - Google Analytics, Advergames, Streaming, Realidad Aumentada y Mucho Más

2010-10-11 Thread Lic. Adriana Vargas
Para mayores informes responda con sus datos completos o bien siga el link a continuacisn y llene el formulario anexo para recibir un folleto con detalles del evento Congress & Marketing | Capacitacisn por Mixico - Newsletter Congreso Nacional iMex Internet Marketing Experts Descargue Congreso

Finding active interface and its ip address within a perl script ?

2010-10-11 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to write a simple script which can grab the ip address of current active interface. e.g iwn0 -> 10.7.22.23/24 , route 10.7.22.254 em0 -> 192.168.133.2/24 , route 192.168.133.1 ( active ,

Re: Finding active interface and its ip address within a perl script ?

2010-10-11 Thread joshua stein
> But is there any better ways to work it out ? you could get the ip of the interface that the default route is going through: route -n get default | grep 'if address' | sed 's/.*: //' or ask ifconfig what is in the egress group and assume the first ip on the first interface will be ok