luky
13-04-2010, 01:43 PM
I noticed one strange thing happening with current kernel. dstat reports around 3000 context switches for box in a sleep mode. It's incredibly high number as my NAS box has typically less then 300csw. I understand that there should be some difference given the nature of the box but such big difference for sleeping box? It hinders performance for sure - i tried a small experiment when I killed all possible processes and csw decreased to around 500. Suddenly network transfer rate increased 50% (from 4.5MBs to 7.5MBs)
I guess developers of the fw should take this to the consideration. /proc/interrupts show high number of interrupts from timer as well. Possibly HZ value from params.h is set to low? May be some kind of adaptive timer ticks can be used?
BTW: csw in mkv play mode rose up to 15kcsw :(
I guess developers of the fw should take this to the consideration. /proc/interrupts show high number of interrupts from timer as well. Possibly HZ value from params.h is set to low? May be some kind of adaptive timer ticks can be used?
BTW: csw in mkv play mode rose up to 15kcsw :(