Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jan 2003 12:17:05 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Julian Elischer <julian@elischer.org>, Jake Burkholder <jake@locore.ca>, arch@FreeBSD.ORG
Subject:   Re: uarea/kstack/pcb/swapout sillyness 
Message-ID:  <20030106201705.98CDB2A8A0@canning.wemm.org>
In-Reply-To: <20030107061643.F4486-100000@gamplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
[..]
> > > Wether or not swapping kernel stacks is still useful I don't really know.
> >
> > Well they are bigger, and a process might have quite a few of them.
> >  A process with 10 suspended threads, each or 3 pages would be 30 pages
> > or 120KB. It's a judgement call I guess.
> 
> I'm sure there are strange process mixes that could benefit from swapping
> 120KB per process, but I think they must be very uncommon now.
> 
> Bruce

FWIW, the i386 has a relatively small stack.  Other platforms are not
so lucky and they add up..  32K or 64K per thread is more painful than 8K
per thread.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


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




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