Comparison of FreeBSD/Linux TCP Throughput performance
Chuck Swiger
cswiger at mac.com
Sat Oct 17 16:58:46 UTC 2009
Hi, Steve--
On Oct 17, 2009, at 8:14 AM, Steve Dong wrote:
> If there's a better/lighter way to show these graphics, I'd like to
> know.
Sure-- put 'em on a webserver somewhere, and put links to them in your
email to this mailing list.
If you wanted to do even better than that, set up a simple webpage
describing what you are doing in your comparison, have a link to the
dmesg/boot output for each platform as a .txt file and a description
of any system tweaks & tuning, have a link that points to a
description of the test setup (ie, your ASCII diagram of the switch
and 4 machines), then your graphs, then the raw data (or links to it,
depending). You can then throw in netstat -s output, or NIC driver
stats from sysctl, or switch stats, etc-- anything else that adds
useful context.
There are a fair number of posts in the list archives which describe
how to benchmark reliably, and the people who are most likely to be
making code changes to FreeBSD also tend to like to know whether
you've collected enough data, in a controlled fashion, to have an idea
as to whether your measurements are reproducible. I'm not a purist,
and I believe you can get useful estimations without rigorous testing,
but there are others who make the point that if you haven't provided
at least a standard deviation, then you haven't collected enough
data-- done enough trials-- to determine whether the results are
meaningful. (See /usr/src/tools/tools/ministat/README)
Of course, you're not obligated to do any of the above, but if you
want the effort you've put in to be more useful, consider these a
suggestion. Finally, the next step beyond that would be to try
tweaking some things, and see what kind of changes you get from that
versus the original performance. It might be the case that making a
simple tuning change would have a significant difference in
performance; if you can identify that, then FreeBSD or Linux
developers can use that information to better tune the OS defaults.
Regards,
--
-Chuck
More information about the freebsd-performance
mailing list