netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* localhost network processing on smp machines
@ 2007-11-05 20:48 Matthew Faulkner
  2007-11-06 10:53 ` Andi Kleen
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Faulkner @ 2007-11-05 20:48 UTC (permalink / raw)
  To: netdev

I'm probably being stupid and very confused here. Appologies if it is
a stupid question.

For a particular test I assign a client to core 1 and a server to core
0. My first assumption was all the sending side kernel TCP/IP
processing will be done on core 1 and all the receiving side
processing on core 0. However, having looked at the linux TCP/IP code,
more specifically the loopback device code, when the loopbacks
dev_queue_xmit function gets called it simply passes the skb to the
netif_rx function. Therefore my question is thus, when i assign the
sending / receiving side to different cores is the actual TCP/IP
processing done the assigned sending / receiving cores ? or is TCP/IP
processing done on the sending side only until a certain point? or is
it simply a single core that does all the TCP/IP processing. If it's
the first two and you have any idea, could you point me where in the
kernel the cores the processing swap over.

Thanks for your help

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-06 10:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 20:48 localhost network processing on smp machines Matthew Faulkner
2007-11-06 10:53 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).