From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 8 17:49:59 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D1FA106569D for ; Wed, 8 Oct 2008 17:49:59 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from nexus.in-nomine.org (dhammapada.xs4all.nl [82.95.168.248]) by mx1.freebsd.org (Postfix) with ESMTP id C740D8FC24 for ; Wed, 8 Oct 2008 17:49:58 +0000 (UTC) (envelope-from asmodai@in-nomine.org) Received: from localhost (localhost.domini.in-nomine.org [127.0.0.1]) by nexus.in-nomine.org (Postfix) with ESMTP id 500DEF3CE; Wed, 8 Oct 2008 19:49:57 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at in-nomine.org Received: from nexus.in-nomine.org ([127.0.0.1]) by localhost (nexus.domini.in-nomine.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EbQMYghRO3zJ; Wed, 8 Oct 2008 19:49:56 +0200 (CEST) Received: by nexus.in-nomine.org (Postfix, from userid 1000) id 2F2B5F3CC; Wed, 8 Oct 2008 19:49:56 +0200 (CEST) Date: Wed, 8 Oct 2008 19:49:56 +0200 From: Jeroen Ruigrok van der Werven To: ushasri tummala Message-ID: <20081008174956.GA98121@nexus.in-nomine.org> References: <53fa490b0810071947j23fc0f72n5360b6f174ddc96d@mail.gmail.com> <86ljwzqblx.fsf@ds4.des.no> <53fa490b0810081014k7c6c3ddfs8f43526da72d881@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53fa490b0810081014k7c6c3ddfs8f43526da72d881@mail.gmail.com> Organisation: Ninth Circle Enterprises User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Dag-Erling =?iso-8859-15?Q?Sm=F8rgrav?= , freebsd-hackers@freebsd.org Subject: Re: What is the time between 2 mi_switches in freebsd. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2008 17:49:59 -0000 -On [20081008 19:15], ushasri tummala (tummala.ushasri@gmail.com) wrote: >I just want to know how its(time between 2 mi_switch()) calculated and in >which variable is it stored in the code.(FreeBSD 5.2 release) >This is not addressed in text book. What Dag-Erling meant to say, and if I recall correctly, a switch() is highly dependent on your hardware. So the time taken for a specific machine can be vastly different from another machine. -- Jeroen Ruigrok van der Werven / asmodai イェルーン ラウフロック ヴァン デル ウェルヴェン http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B Lead us to the place, guide us with your grace, to a place where we'll be safe...