Re: FTP over PPP stalls out

2boxers_at_comcast_dot_net
Date: 11/16/03


Date: Sun, 16 Nov 2003 03:15:06 -0500

Problem Solved !!!

I shut off the irqbalance service.

I adjusted the IRQ affinity for the serial port that the PPP modem was
connected to.

echo 2 > /proc/irq/4/smp_affinity

more about it here:
http://www.spoonix.com/howtos/smp_affinity.txt

When I did this, I immediately noticed a dramatic change for the
better.

By moving IRQ 4 to the second CPU, the performance was restored to
PPP.

I really dont know if it was IRQ contention or load on CPU 1, but even
with all the nics and controllers on CPU 2 with the serial port, the
performance increase was noticeable.

For good measure, I put everything but that serial port on CPU 1. Of
course individual processes can still interrupt either processor, but
it seems like it is fixed now.

RX errors are down to about 2% from 20%.
Downloads are up to 5.8 KB/sec from 1.5 KB/sec.

I notice in this configuration about 10% more CPU load to the second
processor and I take that as a good thing.

Additionally, something I didn't even have in my old configuration was
disabling MNP5 compression. This was a minor gain, but nevertheless
when we are talking kilobytes, I'll take what I can get.

Charles



Relevant Pages

  • [BUG] check_tsc_sync_source: using smp_processor_id() in preemptible code
    ... CPU hotplug is also configured in. ... Breaking affinity for irq 1 ... # ACPI (Advanced Configuration and Power Interface) Support ...
    (Linux-Kernel)
  • Re: FTP over PPP stalls out
    ... I adjusted the IRQ affinity for the serial port that the PPP modem was ... I really dont know if it was IRQ contention or load on CPU 1, ... something I didn't even have in my old configuration was ...
    (comp.os.linux.networking)
  • Re: FTP over PPP stalls out
    ... I adjusted the IRQ affinity for the serial port that the PPP modem was ... I really dont know if it was IRQ contention or load on CPU 1, ... something I didn't even have in my old configuration was ...
    (comp.os.linux.setup)
  • Re: FTP over PPP stalls out
    ... I adjusted the IRQ affinity for the serial port that the PPP modem was ... I really dont know if it was IRQ contention or load on CPU 1, ... something I didn't even have in my old configuration was ...
    (comp.os.linux.misc)
  • IRQ handling difference between i386 and x86_64
    ... It seems that IRQ handling is somehow different between i386 and x86_64. ... In my Dell PowerEdge 1950 is it possible to enable interrupts spreading over all CPUs. ... Booting it with x86_64 leads to situation, when all interrupts goes only to the first cpu matching a smp_affinity mask. ... PCI: Setting latency timer of device 0000:00:02.0 to 64 ...
    (Linux-Kernel)