From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 11:40:20 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84F1F10656E1 for ; Wed, 21 Jan 2009 11:40:20 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 059C48FC08 for ; Wed, 21 Jan 2009 11:40:19 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LPbRT-0007Ar-Uw for freebsd-current@freebsd.org; Wed, 21 Jan 2009 11:40:19 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jan 2009 11:40:19 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Jan 2009 11:40:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Wed, 21 Jan 2009 12:39:59 +0100 Lines: 72 Message-ID: References: <433125.16474.qm@web63903.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBF4A30DF1EB7DA7E6B040A56" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.19 (X11/20090105) In-Reply-To: <433125.16474.qm@web63903.mail.re1.yahoo.com> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Binding timer interrupt to a cpu core X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2009 11:40:21 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBF4A30DF1EB7DA7E6B040A56 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Barney Cordoba wrote: > Is there a way in 7.1 to bind a timer software interrupt? I see cpuset = for userland threads, but its not clear how to do it within the kernel. Each CPU already has its own timer ticking: 3 users Load 0.00 0.00 0.00 Jan 21 12:36 Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER Tot Share Tot Share Free in out in out Act 2152484 21140 2945416 46804 169412 count All 2267140 25916 7497096 71436 pages Proc: Interrup= ts r p d s w Csw Trp Sys Int Sof Flt 19 cow 3204 tot= al 6 170 476 213 119 4 147 203 101 zfod atkbd0 1 ozfod ata0 irq14 0.1%Sys 0.1%Intr 0.0%User 0.0%Nice 99.8%Idle %ozfod 1 ciss0 uhci | | | | | | | | | | | daefr uhci4 22 118 prcfr 400 cpu0: time 51 dtbuf 173 totfr 3 bce0 256 Namei Name-cache Dir-cache 100000 desvn react 400 cpu5: time Calls hits % hits % 83412 numvn pdwak 400 cpu7: time 33 28 85 1 3 24999 frevn pdpgs 400 cpu6: time intrn 400 cpu3: time Disks da0 pass0 478268 wire 400 cpu4: time KB/t 18.00 0.00 2240976 act 400 cpu2: time tps 2 0 1131116 inact 400 cpu1: time MB/s 0.04 0.00 129228 cache %busy 0 0 40184 free Interrupts can be bound to CPUs but only by using APIs within the kernel (there's no userland utility for it). --------------enigBF4A30DF1EB7DA7E6B040A56 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJdwmPldnAQVacBcgRAiGVAJ4w8maa7lic1EIug/qoMjVl0/UrNgCgwgY0 NkT/a0SEkWVDjyTGfSjEPFM= =GixZ -----END PGP SIGNATURE----- --------------enigBF4A30DF1EB7DA7E6B040A56--