CPU usage during solid throuput



  • Our connection is 7mbit down/2mbit up. I've noticed when we are downloading large files that max out the connect the cpu usage is pretty high at around 70-80%. From what I can tell the usage is falling under the "interrupt" category in RRD Graphs.

    The machine has a PIII 1.13ghz cpu, and the only extra service i'm really running is the traffic shaper.

    Is this normal or might it be something to do with the NIC offloading some work onto the CPU?



  • what type of NIC do you use ?
    realtek ? If yes, it would help to use one good NIC like an intel.



  • It is a 3com NIC, and I do suspect it as the cause…but was trying to clue in on past experiences.



  • Did you play a little bit with the options under:
    System: Advanced: Networking ?

    I use the default values on an intel nic but perhaps some changes will help in your case if you could not try another nic right now.


  • Rebel Alliance Developer Netgate

    from ssh or the console, watch "top -SH" as you experience the high load. See where the CPU is really going.



  • @jimp:

    from ssh or the console, watch "top -SH" as you experience the high load. See where the CPU is really going.

    Here's what I got:



  • Rebel Alliance Developer Netgate

    Are you sure that was "top -SH"? It should have shown you the kernel threads using that cpu.

    Next you could try:

    systat -vmstat
    

    See what is firing off those interrupts.



  • @jimp:

    Are you sure that was "top -SH"? It should have shown you the kernel threads using that cpu.

    Next you could try:

    systat -vmstat
    

    See what is firing off those interrupts.

    Think the last post was just top

    ![pfsense usage.jpg](/public/imported_attachments/1/pfsense usage.jpg)
    ![pfsense usage.jpg_thumb](/public/imported_attachments/1/pfsense usage.jpg_thumb)
    ![top -sh.jpg](/public/imported_attachments/1/top -sh.jpg)
    ![top -sh.jpg_thumb](/public/imported_attachments/1/top -sh.jpg_thumb)


Locked