[netperf-dev] Controlling socket priority
Amir Vadai
amirv at dev.mellanox.co.il
Sun Aug 14 05:29:59 PDT 2011
Attached a fixed patch.
Now it will also compile when SO_PRIORITY is not defined.
- Amir
On Sun, Aug 14, 2011 at 11:34 AM, Amir Vadai <amirv at dev.mellanox.co.il> wrote:
> I will add a test for SO_PRIORITY in configure.ac and the needed ifdef's.
> As to DSCP, it is not related to it. I think you need to use IP_TOS
> socket option for that.
> I didn't use it (DSCP), so I'm not very familiar with it.
>
> - Amir
>
> On Fri, Aug 5, 2011 at 4:11 AM, Rick Jones <rick.jones2 at hp.com> wrote:
>> On 08/02/2011 05:16 AM, Amir Vadai wrote:
>>>
>>> Hi,
>>>
>>> I added support for setting socket priority through netperf command
>>> line arguments.
>>>
>>> Please consider adding it.
>>
>> Amir -
>>
>> Many points for including src/nettest_omni and adding the output selectors.
>>
>> One nit though - how portable is SO_PRIORITY? I did a quick check on an
>> HP-UX 11.31 system and didn't find it in any of the header files. That
>> being the case, the addition will need to be conditional on SO_PRIORITY
>> being defined.
>>
>> Also, how does this relate to DSCP?
>>
>> happy benchmarking,
>>
>> rick jones
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enable-setting-socket-priority.patch
Type: text/x-patch
Size: 17025 bytes
Desc: not available
URL: <http://www.netperf.org/pipermail/netperf-dev/attachments/20110814/e7877206/attachment.bin>
More information about the netperf-dev
mailing list