[ofw] netperf + socket duplication on OFW

Tzachi Dar tzachid at mellanox.co.il
Sun Feb 24 00:42:05 PST 2008


Hi Peter,

Netperf is using socket duplication using the following method:
1) It creates a process:
2) That process creates another process with the "Inherit Handles" flag.
3) When the new process is created, the process id doesn't reach the
created application correctly.
And so the process gets terminated.

This behavior was reported to Microsoft a long time ago.

Duplicating a socket using the function "DuplicateSocket()" Should work,
and MS has many tests that are testing that. From my experience with
windows, both of the ways for duplicating a socket are not that useful.

Windows server 2003 SP2 should have the latest fixes to the switch that
were public to everyone. If I recall well, there have been other fixes
to the switch later, that are not public.

We also used to have a version of netperf that didn't do duplicate
socket and therefore did work. If you want I can look for it and send it
to you. You can also use other benchmarks such as ntttcp (it usually
gives better BW). 

Thanks
Tzachi

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org 
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Peter Walker
> Sent: Friday, February 22, 2008 6:26 PM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] netperf + socket duplication on OFW
> 
> Hi All,
> Is netperf supported on OFW? My experiments with this seem to 
> indicate that socket duplication does not work. Netperf uses 
> this functionality. If there is a working setup that 
> demonstrates an application using WSD socket duplication I 
> would appreciate a pointer to it. 
> 
> The root question I guess is- has any confirmed WSD socket 
> duplication as working on Windows server 2003 with service Pack 2?
> 
> I noticed on the OFW site there is a windows service pack 
> update that is recommended for install. However, this is 
> rejected on systems with service pack 2 as, it system says 
> the update is older than the service pack installed. 
> 
> Thanks!
> Peter
> 
> 
> 
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
> 



More information about the ofw mailing list