Most enterprise versions of LANBench are open source. Clone the repository:
git clone https://github.com/example/lanbench (Note: Replace with actual project URL)
cd lanbench
make build
Assuming a compiled version of LANBench (syntax varies by fork, but typical):
Start server (on 192.168.1.100):
lanbench -s -p 5001
Run client for 30 seconds, bidirectional test, 1500-byte MTU:
lanbench -c 192.168.1.100 -p 5001 -t 30 -b 1500 -d both
Sample output (client side):
Connecting to server 192.168.1.100:5001
Test duration: 30 sec, Buffer: 65536 bytes, Direction: both
[ ID] Interval Transfer Bandwidth
[ 1] 0.00-30.00 sec 37.2 GBytes 10.65 Gbits/sec (send)
[ 1] 0.00-30.00 sec 37.0 GBytes 10.59 Gbits/sec (recv)
LANBench operates using a Client-Server model.
LANBench is not just a testing tool; it is a diagnostic scalpel for AI engineers. LANBench
This is your LLM inference server exposed via a REST API or gRPC endpoint. LANBench requires standard request/response formats (typically /v1/completions or /v1/chat/completions).