From owner-freebsd-arch Mon Jan 6 12:17:12 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 310DD37B401 for ; Mon, 6 Jan 2003 12:17:11 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2F1F43EB2 for ; Mon, 6 Jan 2003 12:17:10 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 98CDB2A8A0; Mon, 6 Jan 2003 12:17:05 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bruce Evans Cc: Julian Elischer , Jake Burkholder , arch@FreeBSD.ORG Subject: Re: uarea/kstack/pcb/swapout sillyness In-Reply-To: <20030107061643.F4486-100000@gamplex.bde.org> Date: Mon, 06 Jan 2003 12:17:05 -0800 From: Peter Wemm Message-Id: <20030106201705.98CDB2A8A0@canning.wemm.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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