LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   How to check weather rps is working or not..... (http://www.linuxquestions.org/questions/linux-kernel-70/how-to-check-weather-rps-is-working-or-not-865725/)

dashang.trivedi 03-01-2011 08:58 AM

How to check weather rps is working or not.....
 
for measure the throughput... i use the netpref...
# cat /sys/class/net/eth0/queues/rx-0/rps_cpus
00

# netperf -t TCP_RR -H 10.115.1.59
TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.115.1.59 (10.115.1.59) port 0 AF_INET : demo
Local /Remote
Socket Size Request Resp. Elapsed Trans.
Send Recv Size Size Time Rate
bytes Bytes bytes bytes secs. per sec

16384 87380 1 1 10.00 21792.04
16384 87380


After that i change the RPS field...
#echo f > /sys/class/net/eth0/queues/rx-0/rps_cpus
#cat /sys/class/net/eth0/queues/rx-0/rps_cpus
03


# netperf -t TCP_RR -H 10.115.1.59
TCP REQUEST/RESPONSE TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.115.1.59 (10.115.1.59) port 0 AF_INET : demo
Local /Remote
Socket Size Request Resp. Elapsed Trans.
Send Recv Size Size Time Rate
bytes Bytes bytes bytes secs. per sec

16384 87380 1 1 10.00 21758.73
16384 87380


*MY QUESTION IS WHY ITS GIVE SAME RESULT WITH AND WITH OUT RPS
*HOW TO CHECK WEATHER RPS IS WORKING OR NOT




PLEASE GIVE ANY SOLUTION..
Thank you in advance.....

stress_junkie 03-01-2011 09:04 AM

You should use whether instead of weather.

I believe that your results are similar because your computer is not under a heavy load.

dashang.trivedi 03-01-2011 09:48 AM

Sorry sir its a typing mistake....
so sir You know any better way to check for RPS AND RFS is working or not....

stress_junkie 03-01-2011 09:56 AM

No need to apologize. Heck. I can't write a full sentence in any language other than English. (I'm guessing that you are multilingual.) I simply wanted to correct an error that is easy to make.

I wish that I had as much to say about your test. Unfortunately I do not know how to create a large network load on a test machine.


All times are GMT -5. The time now is 10:30 PM.