HewlettPackard / netperf

Netperf is a benchmark that can be used to measure the performance of many different types of networking. It provides tests for both unidirectional throughput, and end-to-end latency.
MIT License
874 stars 187 forks source link

Sendfile test crashes on FreeBSD due to casting 32-bit integer pointer to off_t which is 64-bit on AMD64 #52

Open hselasky opened 3 years ago

hselasky commented 3 years ago

Hi,

The FreeBSD stack check reports that the sendfile test writes beyond its allocated stack. This simple patch fixes the issue for FreeBSD and possibly also other platforms aswell.

netperf.txt

Thank you!

--HPS // Mellanox // Nvidia

hselasky commented 3 years ago

Ping