[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-10 Thread Ouyang, Changchun
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Sunday, August 9, 2015 4:56 PM > To: Jan Kiszka > Cc: dev at dpdk.org; Ouyang, Changchun > Subject: Re: [dpdk-dev] vhost-switch example: huge memory need and CRC > off-loading

[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-09 Thread Thomas Monjalon
2015-08-08 09:17, Jan Kiszka: > On 2015-08-08 02:39, Ouyang, Changchun wrote: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Kiszka > >> - MAX_QUEUES of 512 causes pretty high memory need for the application > >> (something between 1 and 2G) - is that really needed? I'm now runni

[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-08 Thread Jan Kiszka
On 2015-08-08 02:39, Ouyang, Changchun wrote: > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Kiszka >> Sent: Saturday, August 8, 2015 1:31 AM >> To: dev at dpdk.org >> Subject: [dpdk-dev] vhost-switch e

[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-08 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jan Kiszka > Sent: Saturday, August 8, 2015 1:31 AM > To: dev at dpdk.org > Subject: [dpdk-dev] vhost-switch example: huge memory need and CRC off- > loading issue > > Hi again, >

[dpdk-dev] vhost-switch example: huge memory need and CRC off-loading issue

2015-08-07 Thread Jan Kiszka
Hi again, two findings in the vhost-switch example code that can cause grey hair for starters: - MAX_QUEUES of 512 causes pretty high memory need for the application (something between 1 and 2G) - is that really needed? I'm now running with 32, and I'm able to get away with 256M. Can we tune