All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Q: UML thread communication - scheduling oddness
@ 2004-08-04 20:10 Joe Marzot
  2004-08-05  0:20 ` Jeff Dike
  0 siblings, 1 reply; 7+ messages in thread
From: Joe Marzot @ 2004-08-04 20:10 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Randy Macleod


We are seeing some sub-optimal behaviour (at least for our use) for 
communication between several UMLs. It appears the responsiveness of a 
given UML to application level network messaging is a function of how 
busy the serverside UML is.

That is, if I run a little busy loop

  /mnt/plankton/stress --cpu 1 --io 1

on the server side, the round trip time for messages is greatly 
*improved*. without this activity and a basically dormant server side 
UML the round trip times show considerable variabilty with gaps on the 
order of seconds.

Now for the question:

Can some one explain the event mechanism and communication pathways for 
network packets(using tuntap networking) delivered to the UML kernel and 
then for the kernel to a userspace process?

It looks like the kernel thread is responsive enough because if we do 
simple pings they don't suffer from the huge gaps as the user based 
pings do. I would like to understand how the kernel thread wakes up to 
grab the packets from the tap device and then how it notifies the user 
space thread to deal with it...ultimately maybe there is something we 
can do to make the userspace thread have less latency (other than 
running my dummy busy thing from above of course).

thanks for any help in understanding.

regards, Giovanni

ps. We are using 2.4.2x with 2.4.24-1 patch in skas mode



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2004-08-05 18:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-04 20:10 [uml-devel] Q: UML thread communication - scheduling oddness Joe Marzot
2004-08-05  0:20 ` Jeff Dike
2004-08-05 13:31   ` Michael Richardson
2004-08-05 13:35   ` Joe Marzot
2004-08-05 17:23     ` Jeff Dike
2004-08-05 16:45   ` Joe Marzot
2004-08-05 19:17     ` Jeff Dike

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.