Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2000 16:27:12 +0200 (CEST)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        bde@zeta.org.au
Cc:        current@FreeBSD.ORG, jhb@FreeBSD.ORG
Subject:   Re: 100% system time? (SMPng on UP system)
Message-ID:  <200009171427.e8HERFn34982@Magelan.Leidinger.net>
In-Reply-To: <Pine.BSF.4.21.0009180034230.11515-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 18 Sep, Bruce Evans wrote:

>> >> dnetc runns with idprio 31, system cvsupped around Sep 16, 11 CEST from
>> >> a german mirror (it contains the idle fixes: src/sys/kern/kern_idle.c,v
>> >> 1.4), complete build{world,kernel}.
>> >> 
>> >> ---snip---
>> >> last pid:  1666;  load averages:  1.10,  1.11,  1.03    up 0+00:51:21  16:54:14
>> > 
>> > Perhaps it really is a system process :-[.  idprio on a pure cpu hog prevents
>> > other user processes from running like a system process might do:
>> > 
>> > 	idprio 31 sh -c "while :; do :; done"
>> > 
>> > System processes actually hang the entire system until they complete:
>> 
>> Are you mixing idprio with rtprio or did I not understand what you
>> explain?
> 
> You didn't understand :-).  Try the example.  It only uses idprio.

I have dnetc still running with idprio 31 and it didn't hang the entire
system (I'm able to write this mail and compiling a port in the
background while dnetc is running).

As I understand this:
- The man-page of idprio says it allows processes only to run if the
  system is idle.
- You say, in my case (dnetc is a cpu hog, isn't it?) idprio prevents
  other processes from running (the opposide of what I want).
- I say, dnetc is running in the background with idprio 31 and I'm able
  to do usefull work while it is running.

Confused,
Alexander.

-- 
                           Reboot America.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = 7423 F3E6 3A7E B334 A9CC  B10A 1F5F 130A A638 6E7E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009171427.e8HERFn34982>