Re: Make pipe data structure be a circular list of pages, rather than

From: Linus Torvalds (torvalds_at_osdl.org)
Date: 01/08/05

  • Next message: Adrian Bunk: "[2.6 patch] fs/ncpfs/ncplib_kernel.c: make a function static"
    Date:	Sat, 8 Jan 2005 13:51:46 -0800 (PST)
    To: Lee Revell <rlrevell@joe-job.com>
    
    

    On Sat, 8 Jan 2005, Lee Revell wrote:
    >
    > Many latency critical apps use (tmpfs mounted) FIFO's for IPC; the Linux
    > FIFO being one of the fastest known IPC mechanisms. Each client in the
    > JACK (http://jackit.sf.net) graph wakes the next one by writing a single
    > byte to a FIFO. Ardour's GUI, control, and audio threads interact via a
    > similar mechanism. How would you expect this change to impact the inter
    > thread wakeup latency? It's confusing when people say "performance",
    > meaning "increased throughput albeit with more latency". For many
    > people that's a regression.

    I posted the performance numbers in the thread already, and with every
    single throughput number I also talked abotu what the latency difference
    was. So quite frankly, if you were confused, I suspect it was because you
    didn't read them. Tssk, tssk.

    Short and sweet: the latency changes are in the noise for SMP, but can be
    seen on UP. I'll look at it a bit more: since I had to add the coalescing
    code anyway, I might also decide to re-use a buffer page rather than free
    it immediately, since that may help latency for small writes.

                    Linus
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Adrian Bunk: "[2.6 patch] fs/ncpfs/ncplib_kernel.c: make a function static"

    Relevant Pages

    • Re: Nocona [Intel 64-bit cpu timing]
      ... Sure the P4 can run at a higher clockrate ... If you can get frequency high enough, even low ipc can give you a lot ... of instructions;-). ... "You can buy bandwidth but you have to design for latency. ...
      (sci.crypt)
    • RE: Consistent lock up 2.6.10-rc1-bk7 (mutex/SCHED_RR bug?)
      ... Alan: ... The application in question is not "hard RT" and I am using SCHED_RR to improve latency, ... You are right to suspect futexes don't deal with hard real time but the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ddr with multiple users
      ... In either case data gets shoved into a fifo owned by the master. ... 2,3,4 latency isn't an issue. ... As long as latency is not a primary issue, the ring-bus can also be used for data streaming, with the memory controller simply being one more possible target/initiator node. ... Using dual ring buses to link critical nodes can take care of most latency concerns by improving proximity. ...
      (comp.arch.fpga)
    • latency.c [was: Re: 2.6.9-rc1-mm1]
      ... [- snip -] ... > With these two things in hand, you should be able to measure the latency ... which is handy if you need to monitor processes that exit ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Autoregulate vm swappiness cleanup
      ... > there is pressure to swap means totalram shouldn't be ever be zero. ... As you don't know if user cares about latency or not, ... When do you have a heart between your knees? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)