[Openswan dev] ocf-bench bug & performance :)

Paul Wouters paul at xelerance.com
Mon Dec 20 05:12:15 EST 2010


I was benchmarking OCF and my machine was too fast for ocf-bench:

[  170.239129] OCF: 1040 requests of 1488 bytes in 0 jiffies (0.000 Mbps)

The bench mark is wrong for anything happening in under a jiffy :)

This was on an 8 core:

processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Intel(R) Xeon(R) CPU           E5410  @ 2.33GHz
stepping	: 6
cpu MHz		: 2333.379

When I used 10000 requests instead of 1000 it worked better:

[  229.023024] OCF: 10037 requests of 1488 bytes in 5 jiffies (2389.608 Mbps)

Perhaps make 10000 the new default if request_num= is not specified? Though
even that "5" seems dangerously low. Running with request_num=100000 I got:

[  460.738971] OCF: 100035 requests of 1488 bytes in 49 jiffies (2430.238 Mbps)

Paul


More information about the Dev mailing list