Binding timer interrupt to a cpu core
Ivan Voras
ivoras at freebsd.org
Wed Jan 21 03:40:21 PST 2009
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: Interrupts
r p d s w Csw Trp Sys Int Sof Flt 19 cow 3204 total
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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090121/654cb29f/signature-0001.pgp
More information about the freebsd-current
mailing list