Date: Tue, 17 Apr 2001 16:04:18 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: "E.B. Dreger" <eddy+public+spam@noc.everquick.net> Cc: "'current@freebsd.org'" <current@FreeBSD.ORG>, Matt Dillon <dillon@earth.backplane.com>, "Justin T. Gibbs" <gibbs@scsiguy.com>, Doug Barton <DougB@DougBarton.net> Subject: Re: FW: Filesystem gets a huge performance boost Message-ID: <20010417160418.X976@fw.wintelcom.net> In-Reply-To: <Pine.LNX.4.20.0104172250290.12666-100000@www.everquick.net>; from eddy%2Bpublic%2Bspam@noc.everquick.net on Tue, Apr 17, 2001 at 10:51:06PM %2B0000 References: <Pine.LNX.4.20.0104172153020.11647-100000@www.everquick.net> <Pine.LNX.4.20.0104172250290.12666-100000@www.everquick.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* E.B. Dreger <eddy+public+spam@noc.everquick.net> [010417 15:51] wrote: > > Date: Tue, 17 Apr 2001 22:18:34 +0000 (GMT) > > From: E.B. Dreger <eddy+public+spam@noc.everquick.net> > > > > My instinct (whatever it's worth; remember my disclaimer) is that co-op > > switching using something like tsleep() and wakeup_one() or similar would > > be more efficient than trying to screw with mutexes. > > Oops. I meant asleep(). I don't really like asleep(). asleep()/await() seem to require the schedlock to be aquired and released twice EVERY TIME they are called rather a mutex which only needs to enter the scheduler when it fails to aquire. seriously, it would be _trivial_ to: 1) make interrupts the only thing that could switch, or 2) turn interrupt related locks into spinlocks that do the equivelant of splhigh on that cpu. any further discussion of the underlying implementation is a waste of time and I refuse to do it any further. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] http://www.egr.unlv.edu/~slumos/on-netbsd.html 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?20010417160418.X976>