how to bind single interface with more than one cpu
Benjamin
benjo11111 at gmail.com
Wed Oct 19 17:55:44 UTC 2011
Hi,
I found that for irq distribution across multiple cpus CONFIG_IRQBALANCE
must enabled in kernel.so i tried to check in my existing kernel but i m
not getting it in config-2.6.40.6 so i downloaded 3.0.4 but when i m
going to compile it , i try to find irqbalance optionn in menuconfig.
But not getting such option.
So please tell me from which option or module , i will be having
irqbalance enabled in my kernel.?
Thanks,
Benjamin
> Hi,
>
> I tried to change value in interface interrupt's smp_afinity value
>
> as per my understanding , smp_afinity values
>
> 1 for cpu0
> 2 for cpu1
> 4 for cpu2
> 8 for cpu3
> that way cpu0+cpu1 = 1 + 2 = 3
>
> so i set different values for test .but each time it only binds with
> single cpu from cpu0 / cpu1 / cpu2 or cpu3.
>
> i also start cpuspeed service and irqbalance --oneshot.
>
> But same result.i am not able to use more than 1 cpu for single
> interface.
>
> Regards,
> Benjo
>> On 10/19/2011 11:15 AM, Benjamin wrote:
>>> Hi,
>>>
>>> I am using fedora 15 for application server.That applicaton is very
>>> loaded in network and we have good h/w which having 4 core cpu and
>>> currently 1 lan interface are using.So now i want to bind that
>>> interface
>>> with more than one cpu to gain more performance and more throughput.
>>>
>>> I tried to do it by smp_afinity, but i can't. so i need advice and
>>> help.
>>> Is there anything required from kernel side.? any parameter or any
>>> thing
>>> which need to enable in kernel.?
>>>
>> When you say you tried to do it by smp_afinity, what exactly did you do?
>>
>> Mike
>
More information about the users
mailing list