Re: how to bind single interface with more than one cpu

2011-10-19 Thread Benjamin
  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.?

Regards,
Benjamin
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 On 10/18/2011 02:42 PM, Benjamin wrote:
Hi,

 Any guidence on this requirement.

 I don't think your question makes any sense. Perhaps ask a question that
 does?
 -BEGIN PGP SIGNATURE-

 iQIcBAEBCgAGBQJOnddgAAoJEF1Xw4ZWTEoJm4IP/ju62Gddy7LgIbo1/AArbu1w
 sScJgikaOOOnlow4GoN/aATYHg5bdjBGNDZRUqufk+0wa88/pCzITI8O9syjgBy4
 Jj1VtEysD+QbexwnvNHREE72Aqy/3nrHF7R/9kwQtssMwbeRnwj2T37/Y5rQaJMB
 j8ugFXleVUdi6P/MB0QLL+V8O+2Uxk3Tlro0p0Bu6Iqudjm0v3BMR+CUlEVhXs8Z
 ABD0EYYnQ9alItxpg9iihs3uMpma+7Yv//XcJxelqvG1+q0A6TR2Ogm4CfCxMD1L
 u9q5tlLYEUY+7fACuHv5s9NjbXbpQ0C6UIYiUQfufcj4x5uS1kyNly95Gt/0Km79
 IcLUCEsByFWdjGQfLtyC9EmSBuOTVwyfCeLOVKOXfakSYyYAnqrxf8hSnuzCJ6Iz
 K69Qlo5a/08oUJkoiThipLaDAfMnnfr5+3wAoQJhyLKsNkln8g0Sx91XXQaUOKCp
 0m6jprAa/nb9aMrj/0R3yIP7O0RCbE+yvA+WJ5prG6GEzJVOlkaWD+lz2wYnY2Y9
 S9XJPlEL89KmjuAx7a2mCwCoVcR5yrhNemHddf9zS1PG/+Pxgz3yPcQSsbKN+tLP
 /PwDgFbPbkWvZ8i58BLiML7g+um4x76A4gU4c2/u4AlpD4Hm5wipqup6HsYJtSCJ
 u/pA2ykzWicr8PEw1aQb
 =uDO0
 -END PGP SIGNATURE-

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how to bind single interface with more than one cpu

2011-10-19 Thread Mike Wohlgemuth
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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how to bind single interface with more than one cpu

2011-10-19 Thread Michael Cronenworth
Benjamin wrote:
 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.?

The kernel will automatically load balance interrupts. There is no need 
to configure the affinity of your interrupts by hand.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


RE: how to bind single interface with more than one cpu

2011-10-19 Thread Miner, Jonathan W (US SSA)

From: users-boun...@lists.fedoraproject.org 
[users-boun...@lists.fedoraproject.org] On Behalf Of Michael Cronenworth 
 Benjamin wrote:
  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.?

 The kernel will automatically load balance interrupts. There is no need
 to configure the affinity of your interrupts by hand.

Maybe the original poster need to look at whether the application can support 
multiple processors or multi-threading?  Or bonding the ethernet interfaces to 
create a bigger pipe?
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how to bind single interface with more than one cpu

2011-10-19 Thread 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

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how to bind single interface with more than one cpu

2011-10-19 Thread Benjamin
  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


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how to bind single interface with more than one cpu

2011-10-18 Thread Benjamin
  Hi,

Any guidence on this requirement.




  Hi,

 We have one server which i having 4 CPU core.So in that i want to bind 
 2 CPU with one LAN interface for high network performance.

 i tried to set smp_afinity , i can change irq of interface on 
 different cpus but i can't bind it with 2 cpus.

 How to do it?

 Regards,
 Benjamin

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how to bind single interface with more than one cpu

2011-10-18 Thread Larry Brower
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 10/18/2011 02:42 PM, Benjamin wrote:
   Hi,
 
 Any guidence on this requirement.
 

I don't think your question makes any sense. Perhaps ask a question that
does?
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJOnddgAAoJEF1Xw4ZWTEoJm4IP/ju62Gddy7LgIbo1/AArbu1w
sScJgikaOOOnlow4GoN/aATYHg5bdjBGNDZRUqufk+0wa88/pCzITI8O9syjgBy4
Jj1VtEysD+QbexwnvNHREE72Aqy/3nrHF7R/9kwQtssMwbeRnwj2T37/Y5rQaJMB
j8ugFXleVUdi6P/MB0QLL+V8O+2Uxk3Tlro0p0Bu6Iqudjm0v3BMR+CUlEVhXs8Z
ABD0EYYnQ9alItxpg9iihs3uMpma+7Yv//XcJxelqvG1+q0A6TR2Ogm4CfCxMD1L
u9q5tlLYEUY+7fACuHv5s9NjbXbpQ0C6UIYiUQfufcj4x5uS1kyNly95Gt/0Km79
IcLUCEsByFWdjGQfLtyC9EmSBuOTVwyfCeLOVKOXfakSYyYAnqrxf8hSnuzCJ6Iz
K69Qlo5a/08oUJkoiThipLaDAfMnnfr5+3wAoQJhyLKsNkln8g0Sx91XXQaUOKCp
0m6jprAa/nb9aMrj/0R3yIP7O0RCbE+yvA+WJ5prG6GEzJVOlkaWD+lz2wYnY2Y9
S9XJPlEL89KmjuAx7a2mCwCoVcR5yrhNemHddf9zS1PG/+Pxgz3yPcQSsbKN+tLP
/PwDgFbPbkWvZ8i58BLiML7g+um4x76A4gU4c2/u4AlpD4Hm5wipqup6HsYJtSCJ
u/pA2ykzWicr8PEw1aQb
=uDO0
-END PGP SIGNATURE-
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: how to bind single interface with more than one cpu

2011-10-18 Thread Joe Zeff
On 10/18/2011 12:45 PM, Larry Brower wrote:
 On 10/18/2011 02:42 PM, Benjamin wrote:
  Hi,
 
   Any guidence on this requirement.
 
 I don't think your question makes any sense. Perhaps ask a question that
 does?

He's referring to the question asked in the subject of the post.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines