Re: [Users] How to configure vRouter with static resource limit

2016-09-22 Thread Sudeep Batra
You mean this link right –

https://github.com/Juniper/contrail-controller/wiki/Vrouter-Module-Parameters



But this doesn’t address my query.

So you mean there is no limit defined/knobs for allocated vCPU,RAM to the 
vRouter.



Regards,

SUDEEP BATRA

Ericsson India Global Services Private Limited

DLF IT Park-II, Block 1A, Action Area II, Rajarhat

Kolkata, India

ECN: 889 51425

Mobile +918420196572

sudeep.ba...@ericsson.com

www.ericsson.com



-Original Message-
From: Rajagopalan Sivaramakrishnan [mailto:r...@juniper.net]
Sent: Thursday, September 22, 2016 10:05 PM
To: Sudeep Batra; users@lists.opencontrail.org
Subject: Re: [Users] How to configure vRouter with static resource limit



The size of the flow table, bridge table in vrouter can be set as module 
parameters. There aren’t any knobs for CPU usage.



Raja



On 9/21/16, 9:13 AM, "Users on behalf of Sudeep Batra" 
mailto:users-boun...@lists.opencontrail.org%20on%20behalf%20of%20sudeep.ba...@ericsson.com>>
 wrote:



How do I configure the vRouter with specific amount of RAM,vCPU. The idea 
is even if the vRouter gets overloaded the KVM kernel should not have an impact 
unless we have really exceeded the limits.

Any help is greatly appreciated.



Regards,

SUDEEP BATRA

sudeep.ba...@ericsson.com<mailto:sudeep.ba...@ericsson.com>







-Original Message-

From: Users [mailto:users-boun...@lists.opencontrail.org] On Behalf Of 
users-requ...@lists.opencontrail.org<mailto:users-requ...@lists.opencontrail.org>

Sent: Wednesday, September 21, 2016 9:30 PM

To: users@lists.opencontrail.org<mailto:users@lists.opencontrail.org>

Subject: Users Digest, Vol 37, Issue 5



Send Users mailing list submissions to


users@lists.opencontrail.org<mailto:users@lists.opencontrail.org>



To subscribe or unsubscribe via the World Wide Web, visit


http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org



or, via email, send a message with subject or body 'help' to


users-requ...@lists.opencontrail.org<mailto:users-requ...@lists.opencontrail.org>



You can reach the person managing the list at


users-ow...@lists.opencontrail.org<mailto:users-ow...@lists.opencontrail.org>



When replying, please edit your Subject line so it is more specific than 
"Re: Contents of Users digest..."





Today's Topics:



   1. Preparing the Testbed.py File for Provisioning a Contrail

  Cluster Node with DPDK (shuqiang zhao)





--



Message: 1

Date: Wed, 21 Sep 2016 15:24:33 +0800

From: shuqiang zhao 
mailto:shuqiang.zhao...@gmail.com>>

To: users@lists.opencontrail.org<mailto:users@lists.opencontrail.org>

Subject: [Users] Preparing the Testbed.py File for Provisioning a

Contrail Cluster Node with DPDK

Message-ID:


mailto:cammqgar3ktuezrgu1-6ps9k8tynxdu0trdjrp6585hz3rp5...@mail.gmail.com>>

Content-Type: text/plain; charset="utf-8"



how to set the "huge_pages" and "coremask" as described in 
http://www.juniper.net/techpubs/en_US/contrail3.0/topics/concept/dpdk-with-vrouter-vnc.html



the server info :

[root@node-4 ~]# uname -a

Linux node-4.domain.tld 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC

2015 x86_64 x86_64 x86_64 GNU/Linux



[root@node-4 ~]# grep "huge" -ir /proc/meminfo :

AnonHugePages:280576 kB

HugePages_Total:   10240

HugePages_Free: 5129

HugePages_Rsvd:0

HugePages_Surp:0

Hugepagesize:   2048 kB



[root@node-4 ~]# lscpu

Architecture:  x86_64

CPU op-mode(s):32-bit, 64-bit

Byte Order:Little Endian

CPU(s):20

On-line CPU(s) list:   0-19

Thread(s) per core:1

Core(s) per socket:10

Socket(s): 2

NUMA node(s):  2

Vendor ID: GenuineIntel

CPU family:6

Model: 62

Model name:Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz

Stepping:  4

CPU MHz:   1264.570

BogoMIPS:  6006.24

Virtualization:VT-x

L1d cache: 32K

L1i cache: 32K

L2 cache:  256K

L3 cache:  25600K

NUMA node0 CPU(s): 0-9

NUMA node1 CPU(s): 10-19



[root@node-4 ~]# lspci -vv | grep Eth

05:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ 
Network Connection (rev 01)

Subsystem: Intel Corporation Ethernet Server Adapter X520-2

05:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigab

Re: [Users] How to configure vRouter with static resource limit

2016-09-22 Thread Rajagopalan Sivaramakrishnan
The size of the flow table, bridge table in vrouter can be set as module 
parameters. There aren’t any knobs for CPU usage.

Raja

On 9/21/16, 9:13 AM, "Users on behalf of Sudeep Batra" 
 
wrote:

How do I configure the vRouter with specific amount of RAM,vCPU. The idea 
is even if the vRouter gets overloaded the KVM kernel should not have an impact 
unless we have really exceeded the limits.
Any help is greatly appreciated.

Regards,
SUDEEP BATRA 
sudeep.ba...@ericsson.com



-Original Message-
From: Users [mailto:users-boun...@lists.opencontrail.org] On Behalf Of 
users-requ...@lists.opencontrail.org
Sent: Wednesday, September 21, 2016 9:30 PM
To: users@lists.opencontrail.org
Subject: Users Digest, Vol 37, Issue 5

Send Users mailing list submissions to
users@lists.opencontrail.org

To subscribe or unsubscribe via the World Wide Web, visit

http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

or, via email, send a message with subject or body 'help' to
users-requ...@lists.opencontrail.org

You can reach the person managing the list at
users-ow...@lists.opencontrail.org

When replying, please edit your Subject line so it is more specific than 
"Re: Contents of Users digest..."


Today's Topics:

   1. Preparing the Testbed.py File for Provisioning a Contrail
  Cluster Node with DPDK (shuqiang zhao)


--

Message: 1
Date: Wed, 21 Sep 2016 15:24:33 +0800
From: shuqiang zhao 
To: users@lists.opencontrail.org
Subject: [Users] Preparing the Testbed.py File for Provisioning a
Contrail Cluster Node with DPDK
Message-ID:

Content-Type: text/plain; charset="utf-8"

how to set the "huge_pages" and "coremask" as described in 
http://www.juniper.net/techpubs/en_US/contrail3.0/topics/concept/dpdk-with-vrouter-vnc.html

the server info :
[root@node-4 ~]# uname -a
Linux node-4.domain.tld 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux

[root@node-4 ~]# grep "huge" -ir /proc/meminfo :
AnonHugePages:280576 kB
HugePages_Total:   10240
HugePages_Free: 5129
HugePages_Rsvd:0
HugePages_Surp:0
Hugepagesize:   2048 kB

[root@node-4 ~]# lscpu
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):20
On-line CPU(s) list:   0-19
Thread(s) per core:1
Core(s) per socket:10
Socket(s): 2
NUMA node(s):  2
Vendor ID: GenuineIntel
CPU family:6
Model: 62
Model name:Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
Stepping:  4
CPU MHz:   1264.570
BogoMIPS:  6006.24
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  25600K
NUMA node0 CPU(s): 0-9
NUMA node1 CPU(s): 10-19

[root@node-4 ~]# lspci -vv | grep Eth
05:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ 
Network Connection (rev 01)
Subsystem: Intel Corporation Ethernet Server Adapter X520-2
05:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ 
Network Connection (rev 01)
Subsystem: Intel Corporation Ethernet Server Adapter X520-2
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Subject: Digest Footer

___
Users mailing list
Users@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org


--

End of Users Digest, Vol 37, Issue 5


___
Users mailing list
Users@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org


___
Users mailing list
Users@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org


Re: [Users] How to configure vRouter with static resource limit

2016-09-21 Thread Sudeep Batra
Good suggestion but I was thinking more like some parameter change in the 
contrail configuration file.
Assuming we are using the default opencontrail with vrouter running in the KVM 
kernel space.


Regards,
SUDEEP BATRA
sudeep.ba...@ericsson.com<mailto:sudeep.ba...@ericsson.com>


From: Jakub Pavlik [mailto:jpav...@mirantis.com]
Sent: Wednesday, September 21, 2016 9:48 PM
To: Sudeep Batra
Cc: users@lists.opencontrail.org
Subject: Re: [Users] How to configure vRouter with static resource limit


Put it into container :)

Dne 21. 9. 2016 18:13 napsal uživatel "Sudeep Batra" 
mailto:sudeep.ba...@ericsson.com>>:
How do I configure the vRouter with specific amount of RAM,vCPU. The idea is 
even if the vRouter gets overloaded the KVM kernel should not have an impact 
unless we have really exceeded the limits.
Any help is greatly appreciated.

Regards,
SUDEEP BATRA
sudeep.ba...@ericsson.com<mailto:sudeep.ba...@ericsson.com>



-Original Message-
From: Users 
[mailto:users-boun...@lists.opencontrail.org<mailto:users-boun...@lists.opencontrail.org>]
 On Behalf Of 
users-requ...@lists.opencontrail.org<mailto:users-requ...@lists.opencontrail.org>
Sent: Wednesday, September 21, 2016 9:30 PM
To: users@lists.opencontrail.org<mailto:users@lists.opencontrail.org>
Subject: Users Digest, Vol 37, Issue 5

Send Users mailing list submissions to
users@lists.opencontrail.org<mailto:users@lists.opencontrail.org>

To subscribe or unsubscribe via the World Wide Web, visit

http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

or, via email, send a message with subject or body 'help' to

users-requ...@lists.opencontrail.org<mailto:users-requ...@lists.opencontrail.org>

You can reach the person managing the list at

users-ow...@lists.opencontrail.org<mailto:users-ow...@lists.opencontrail.org>

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Users digest..."


Today's Topics:

   1. Preparing the Testbed.py File for Provisioning a Contrail
  Cluster Node with DPDK (shuqiang zhao)


--

Message: 1
Date: Wed, 21 Sep 2016 15:24:33 +0800
From: shuqiang zhao 
mailto:shuqiang.zhao...@gmail.com>>
To: users@lists.opencontrail.org<mailto:users@lists.opencontrail.org>
Subject: [Users] Preparing the Testbed.py File for Provisioning a
Contrail Cluster Node with DPDK
Message-ID:

mailto:cammqgar3ktuezrgu1-6ps9k8tynxdu0trdjrp6585hz3rp5...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

how to set the "huge_pages" and "coremask" as described in 
http://www.juniper.net/techpubs/en_US/contrail3.0/topics/concept/dpdk-with-vrouter-vnc.html

the server info :
[root@node-4 ~]# uname -a
Linux node-4.domain.tld 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 
11:36:42 UTC
2015 x86_64 x86_64 x86_64 GNU/Linux

[root@node-4 ~]# grep "huge" -ir /proc/meminfo :
AnonHugePages:280576 kB
HugePages_Total:   10240
HugePages_Free: 5129
HugePages_Rsvd:0
HugePages_Surp:0
Hugepagesize:   2048 kB

[root@node-4 ~]# lscpu
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):20
On-line CPU(s) list:   0-19
Thread(s) per core:1
Core(s) per socket:10
Socket(s): 2
NUMA node(s):  2
Vendor ID: GenuineIntel
CPU family:6
Model: 62
Model name:Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
Stepping:  4
CPU MHz:   1264.570
BogoMIPS:  6006.24
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  25600K
NUMA node0 CPU(s): 0-9
NUMA node1 CPU(s): 10-19

[root@node-4 ~]# lspci -vv | grep Eth
05:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ 
Network Connection (rev 01)
Subsystem: Intel Corporation Ethernet Server Adapter X520-2
05:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ 
Network Connection (rev 01)
Subsystem: Intel Corporation Ethernet Server Adapter X520-2
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.opencontrail.org/pipermail/users_lists.opencontrail.org/attachments/20160921/1cb3413f/attachment-0001.html>

--

Subject: Digest Footer

___
Users mailing list
Users@lists.opencontrail.org<mailto:Users@lists.opencontrail.org>
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org


--

End of Users Digest, Vol 37, Issue 5


___
U