Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 12:19:01 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Mike Smith <msmith@freebsd.org>, Zhihui Zhang <zzhang@cs.binghamton.edu>, freebsd-hackers@freebsd.org
Subject:   Re: Allocate a page at interrupt time
Message-ID:  <200108071919.f77JJ1d35789@earth.backplane.com>
References:  <200108070739.f777dmi08218@mass.dis.org> <3B6FB0AE.8D40EF5D@mindspring.com> <200108071655.f77Gt9M32808@earth.backplane.com> <3B703029.2BB6D25A@mindspring.com>

index | next in thread | previous in thread | raw e-mail


:
:Matt Dillon wrote:
:> :What "this", exactly?
:> :
:> :That "virtual wire" mode is actually a bad idea for some
:> :applications -- specifically, high speed networking with
:> :multiple gigabit ethernet cards?
:> 
:>     All the cpu's don't get the interrupt, only one does.
:
:I think that you will end up taking an IPI (Inter Processor
:Interrupt) to shoot down the cache line during an invalidate
:cycle, when moving an interrupt processing thread from one
:CPU to another.  For multiple high speed interfaces (disk or
:network; doesn't matter), you will end up burining a *lot*
:of time, without a lockdown.

    Cache line invalidation does not require an IPI.  TLB
    shootdowns require IPIs.  TLB shootdowns are unrelated to
    interrupt threads, they only occur when shared mmu mappings
    change.  Cache line invalidation can waste cpu cycles --
    when cache mastership changes occur between cpus due to
    threads being switched between cpus.  I consider this a
    serious problem in -current.

					-Matt


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



help

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