smc-tools v1.6 is now available for download here.
Highlights in this release:
smcd/smcr: New stats Command
Display statistics on SMC usage to gain valuable insights:
root@tux> smcd stats
SMC-D Connections Summary
Total connections handled 152730
SMC connections 152730
Handshake errors 0
Avg requests per SMC conn 813.1
TCP fallback 0
RX Stats
Data transmitted (Bytes) 270311225427 (270.3G)
Total requests 61619256
Buffer full 114746 (0.19%)
8KB 16KB 32KB 64KB 128KB 256KB 512KB >512KB
Bufs 0 2 140 2.103K 0 2 0 95.97K
Reqs 54.07M 3 7.552M 0 0 0 0 0
TX Stats
Data transmitted (Bytes) 271274963896 (271.3G)
Total requests 62565728
Buffer full 0 (0.00%)
Buffer full(remote) 90038 (0.14%)
Buffer too small 0 (0.00%)
Buffer too small(remote) 0 (0.00%)
8KB 16KB 32KB 64KB 128KB 256KB 512KB >512KB
Bufs 0 2.384K 142 0 0 2 0 0
Reqs 54.92M 3 7.552M 0 0 0 0 0
Extras
Special socket calls 0
Requires Linux kernel 5.14. See the respective man page for further details.
smc_run: New Command-Line Switches
Use command-line options -r and -t to request specific buffer sizes for receive and transmit buffers respectively:
root@tux> smc_run -r 1M -t 128K ./foo
Alternatively, use respective environment variables when using the preload library directly:
root@tux> export SMC_RCVBUF=1M
root@tux> export SMC_SNDBUF=128K
Again, see the respective man page for further details.
For more information, see the README.
No comments:
Post a Comment