On Wed Oct 24, 2012, Laurent CARON wrote: > On 24/10/2012 07:14, Thomas Fjellstrom wrote: > > I've been having some issues with my 6501 and linux. > > > > The kernel from > > http://wiki.soekris.info/Kernel_2.6.32_from_source_on_Debian works > > fairly well, but HyperThreading is disabled, and I seem to be having > > some RX issues (the 6501 can't rx faster than 280Mbps from any machine, > > while all other machines can easily hit 850-950Mbps rx and tx). > > > > Before that kernel, I was using the stock debian 3.2 kernel, but there > > was some funny business going on, with odd cpu use noted by htop, and > > performance was rather poor. > > > > I then tried using the config from the link above to compile a custom > > kernel based on 3.5.2, but it has similar issues as the stock 3.2 debian > > kernel. I'm pretty certain I messed up the config somehow, but this > > isn't the first time I've done a custom kernel (I've done it many many > > times for x86 machines) so I'm not sure exactly what I did mess up. > > > > Does anyone have a good idea of how to make a proper kernel for the 6501? > > > > Now, it may not be the kernel at all, it's just a hunch I have since > > different kernels so far have reacted differently. If anyone can think > > of something else that would cause these issues, I'd love to know what > > they are. > > > > Thanks. > > Hi, > > Can you try this: > # for i in {40..45}; do echo 1 > /proc/irq/$i/smp_affinity; done > # for i in {47..52}; do echo 2 > /proc/irq/$i/smp_affinity; done > > and tell me if it helps with network performance ? >
My current install doesn't have any irq's over 34. Also, only one cpu shows up in /proc/cpuinfo (or htop) > _______________________________________________ > Soekris-tech mailing list > [email protected] > http://lists.soekris.com/mailman/listinfo/soekris-tech -- Thomas Fjellstrom [email protected] _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
