It gets stuck by a ping -f from another uml with my clownix process in between both uml, transfering packets from one socket to the other.
1 When uml A does a ping -f to B, the select of B is completely blocked, I can ssh into B and look around without feeling latency, ps -ef dumps very fast all processes, all seems normal in B but top in B blocks and shows nothing, ping blocks too, but it is normal, because it also uses the select as timout. 2 When uml A does a ping -f to B, the select of A takes twice as long but works: 1202 <--- the select working 1200 220894 <---a ping -f on the other uml machine, total stop 1201 <--- Ctrl C on the ping -f of the other machine 1202 1205 1202 1701 2248 <--- ping -f on another ssh shell of the same machine 2428 2269 A ping -f from the host also blocks the select, I can still ssh on the target uml with no problems, only the select is not working. On Mon, 2008-03-31 at 10:51 -0400, Jeff Dike wrote: > On Sun, Mar 30, 2008 at 01:18:09PM +0200, vincent-perrier wrote: > > I am doing networking with ulm, and I have a pb, > > on one machine I run a piece of software as under: > > while (1) > > { > > tv.tv_sec = 1; > > tv.tv_usec = 0; > > select( 1, NULL, NULL, NULL, &tv ); > > tell_time(); > > } > > I get 1200 milli-sec with each loop, when all is > > nominal, but when I do a ping -f on another machine > > towards the one running the loop above, the select > > is stuck untill I stop the ping -f. > > This is the UML spending all of its time handling network interrupts > instead of doing real work. Are you hitting it from the host, or > another UML? > > Jeff > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user