Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrentlyrunsoftirqnetwork code on SMP

2007-09-25 Thread John Ye
ch the load to SMP here may be good thing(?). Thanks. John Ye - Original Message - From: "jamal" <[EMAIL PROTECTED]> To: "Stephen Hemminger" <[EMAIL PROTECTED]> Cc: "john ye" <[EMAIL PROTECTED]>; "David Miller" <[EMAIL PROTEC

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP

2007-09-25 Thread john ye
ell. The test is under way, it's not bad so far. The queue spin_lock seems not cost much. Below is the bcpp beautified module code. Last time code mess is caused by outlook express which killed tabs. Thanks. John Ye /* * BOTTOM_SOFTIRQ_NET * An implementation of bot

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrentlyrunsoftirqnetwork code on SMP

2007-09-23 Thread John Ye
Dear Jamal, Thanks, bothered you all. I will look into the 2 issues. re-ordering and spinlock, and do extensive test. Once having result, no matter positive or negative, I will contact you. The format will not be a mess any more. John Ye - Original Message - From: "jamal&quo

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently runsoftirqnetwork code on SMP

2007-09-23 Thread john ye
patch --- they are there only for accessing non-EXPORT_SYMBOLed kernel variables. Thanks a lot for your thought. John Ye - Original Message - From: "jamal" <[EMAIL PROTECTED]> To: "john ye" <[EMAIL PROTECTED]> Cc: "David Miller" <[EMAIL PROTECT

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently run softirqnetwork code on SMP

2007-09-22 Thread john ye
mption, compared with the gains by making other CPUs joint in the work. I have made BS patch into a loadable module. http://linux.chinaunix.net/bbs/thread-909725-2-1.html and let others help with testing. John Ye - Original Message - From: "jamal" <[EMAIL PROTECTED]>

Re: [PATCH: 2.6.13-15-SMP 3/3] network: concurrently run softirq network code on SMP

2007-09-21 Thread John Ye
David, Thanks for your reply. I understand it's not worth to do. I have made it a loadable module to fulfill the function. it mainly for busy NAT gateway server with SMP to speed up. John Ye - Original Message - From: "David Miller" <[EMAIL PROTECTED]> To: &

[PATCH: 2.6.13-15-SMP 3/3] network: concurrently run softirq network code on SMP

2007-09-20 Thread john ye
Bottom Softirq Implementation. John Ye, 2007.08.27 Why this patch: Make kernel be able to concurrently execute softirq's net code on SMP system. Takes full advantages of SMP to handle more packets and greatly raises NIC throughput. The current kernel's net packet processing logic is: