[PATCH] cmdline: configure input buffer size

Etelson, Gregory getelson at nvidia.com
Wed May 1 12:06:47 CEST 2024


Hello Bruce,

>> Application can set custom cmdline size during DPDK configuration:
>>
>> `meson setup ... -Dc_args='-DRDLINE_CUSTOM_BUF_SIZE=4096' ...`
>>
>> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
>> ---
> Basic question, what would be the impact of increasing the default from 512
> to 1k or 2k? Do we get a large memory footprint increase, or is it just an
> extra 1 or 2k of memory used?
>
> /Bruce
>

Increasing the RDLINE_BUF_SIZE size will also increase application memory usage.
However, that memory increase was required, because application could not fit 
it's command line into the default buffer.

Applications that can run with the default RDLINE_BUF_SIZE are not affected by 
that patch.

Regards,
Gregory


More information about the dev mailing list