On Fri, 18 May 2007, Pu Jiangbo wrote: > Dear all, > I've used LMBench to benchmark context switch between 2.4 and 2.6, and > found an interesting thing that > when the thread size is between 0~1024KByte, the switching time increased as > everyone predicted, however, when > bigger than 2M, it sharply decreased, like this: > 256Kbyte/4 Processes: 47.3 ms > 512Kbyte/4 Processes: 140.97 ms > 1MByte/4 Processes: 142.63 ms > 2MByte/4 Processes: 17.88 ms > 4M----------------: 17.25 ms > 8M----------------: 10.00 ms > > when at a Linux 2.4 in the same PC: > 512K/4P: 155.06 ms > 1M/4P: 153.09 ms > 2M/4P: 74.71 ms > 4M/4P: 132.84 ms > 8M/4P: 809.36 ms > > I'm very comfused at this result, could anyone know something about that? > Thank you very much!
Just out of curiosity, I wonder why you sent a message about kernel context-switching performance to the USB development mailing list? Don't you realize it is completely Off-Topic? Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel