login
Header Space

 
 

Re: network performance

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefan Lambrev <stefan.lambrev@...>
Cc: <freebsd-performance@...>
Date: Wednesday, February 6, 2008 - 4:28 pm

Stefan Lambrev wrote:


Thanks.  There is further work needed on the route locking, and also you 
are hitting limitations of the em driver (or possibly hardware; if you 
only have a single transmit queue then outbound packets from multiple 
CPUs have to be serialized in the driver no matter what).  Hopefully 
there will be further improvements in the coming months, and these 
changes will also migrate into CVS.

If you want to start hacking things to see how much further progress is 
feasible, you can apply the attached hack that nulls out all route 
locking :)  This should be OK as long as your routes are not changing, 
although you might get some spam on the console (if this is excessive, 
comment out the printfs also ;-).  It may not help much though, all the 
contention will probably just fall through onto the ethernet driver.


Yeah, it is a bit broken in 8.0 even in CVS.  Also make sure not to 
reset it while the CPUs are loaded :)


It works on my systems...try with libpmc from my branch, make sure to 
install the new includes first and then rebuild and reinstall libpmc and 
pmcstat.  I have attached a patch against the CVS libpmc which might be 
easier than checking it out from p4...it relies on kernel changes also 
though, which are in the kernel you already have but not in CVS.

Kris
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
network performance, Stefan Lambrev, (Mon Jan 21, 2:39 pm)
Re: ZFS, NFS and Network tuning, Paul Patterson, (Sun Dec 21, 12:17 pm)
Re: network performance, Stefan Lambrev, (Wed Jan 30, 1:13 pm)
Re: network performance, , (Fri Feb 1, 1:52 am)
Re: network performance, Stefan Lambrev, (Fri Feb 1, 7:49 am)
Re: network performance, Stefan Lambrev, (Mon Feb 4, 11:26 am)
Re: network performance, Andrew Thompson, (Mon Feb 4, 2:29 pm)
Re: network performance, Stefan Lambrev, (Mon Feb 4, 5:16 pm)
Re: network performance, Stefan Lambrev, (Mon Feb 4, 7:03 pm)
Re: network performance, Stefan Lambrev, (Tue Feb 5, 7:24 am)
Re: network performance, Kris Kennaway, (Tue Feb 5, 5:16 pm)
Re: network performance, Stefan Lambrev, (Tue Feb 5, 6:01 pm)
Re: network performance, Kris Kennaway, (Tue Feb 5, 6:23 pm)
Re: network performance, Stefan Lambrev, (Wed Feb 6, 6:33 am)
Re: network performance, Kris Kennaway, (Wed Feb 6, 7:02 am)
Re: network performance, Stefan Lambrev, (Wed Feb 6, 7:17 am)
Re: network performance, Kris Kennaway, (Wed Feb 6, 7:33 am)
Re: network performance, Stefan Lambrev, (Wed Feb 6, 9:29 am)
Re: network performance, Kris Kennaway, (Wed Feb 6, 4:07 pm)
Re: network performance, Stefan Lambrev, (Thu Feb 7, 7:40 am)
Re: network performance, Stefan Lambrev, (Mon Feb 11, 9:47 am)
Re: network performance, Stefan Lambrev, (Thu Feb 7, 5:28 am)
Re: network performance, Stefan Lambrev, (Thu Feb 7, 12:42 pm)
Re: network performance, Stefan Lambrev, (Wed Feb 6, 10:29 am)
Re: network performance, Kris Kennaway, (Wed Feb 6, 4:28 pm)
Re: network performance, Stefan Lambrev, (Wed Feb 6, 6:42 pm)
Re: network performance, Kris Kennaway, (Wed Feb 6, 7:08 pm)
Re: network performance, Stefan Lambrev, (Thu Feb 7, 5:43 am)
Re: network performance, Stefan Lambrev, (Thu Feb 7, 6:18 am)
Re: network performance, Stefan Lambrev, (Wed Feb 6, 5:05 am)
Re: network performance, Stefan Lambrev, (Mon Feb 4, 1:01 pm)
speck-geostationary