Testing needed for new pipe code (in master)

看板DFBSD_kernel作者時間16年前 (2009/07/13 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
I have substantially rewritten kern/sys_pipe.c, which is our support for pipes. It should work quite well on a SMP box now. Performance on UP boxes might be a bit lower then the old code but the difference should not be noticable for any production workload. To test the SMP improvements set sysctl kern.pipe.mpsafe=1. The latest code significantly improves synchronous communication over a pipe (not a socket, sorry), reducing (Awrite,Bread,Bwrite,Aread) sequences from 7uS to 2uS on my test box. The pipe1 test (from /usr/src/test/sysperf) tests this. The latest code is now able to fully saturated all available cpus when running multiple copies of the pipe2 test (from /usr/src/test/sysperf). -Matt
文章代碼(AID): #1AMisZhf (DFBSD_kernel)
文章代碼(AID): #1AMisZhf (DFBSD_kernel)