[dpdk-dev] [PATCH] test: reduce duration for timer autotest

Parthasarathy, JananeeX M jananeex.m.parthasarathy at intel.com
Mon Oct 22 09:43:08 CEST 2018


Hi Reshma,

>-----Original Message-----
>From: Pattan, Reshma
>Sent: Wednesday, October 10, 2018 9:54 PM
>To: Parthasarathy, JananeeX M <jananeex.m.parthasarathy at intel.com>;
>dev at dpdk.org
>Cc: rsanford at akamai.com
>Subject: RE: [PATCH] test: reduce duration for timer autotest
>
>Hi
>
>> -----Original Message-----
>> From: Parthasarathy, JananeeX M
>> Sent: Saturday, September 22, 2018 12:55 PM
>> To: dev at dpdk.org
>> Cc: Pattan, Reshma <reshma.pattan at intel.com>; rsanford at akamai.com;
>> Parthasarathy, JananeeX M <jananeex.m.parthasarathy at intel.com>
>> Subject: [PATCH] test: reduce duration for timer autotest
>>
>>
>>  	/* pick random timer to reset, stopping them first half the time */
>> -	for (i = 0; i < 100000; i++) {
>> +	for (i = 0; i < NB_STRESS2_TIMERS; i++) {
>
>Just reduce the iteration to some number, instead of using macro
>NB_STRESS2_TIMERS, which seem to be specific for number of timers.
>
>(Or) can this test be considered as perf ? and ignore above changes.?
>
>Any one any comments?
>
>Thanks,
>Reshma
>

NB_STRESS2_TIMERS is used for all iterations in the test and timer structure is allocated NB_STRESS2_TIMERS only, hence used the same.

This seems to be stress test so better to be considered as perf test and no changes are required.

Please let us know about it.

Regards
MP.Jananee
--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.



More information about the dev mailing list