Re: [PATCH 1/3] rt-tests: determine_maximum_mpps.sh: Add a menu to get user settings.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

On Wed, Dec 09, 2020 at 01:30:58PM -0500, John Kacur wrote:
> Incorporate the functionality of the get_cpuinfo_mhz.sh script into
> determine_maximum_mpps.sh so that get_cpuinfo_mhz.sh can be removed.
> 
> Currently determine_maximum_mpps.sh (part of queuelat) asks the user
> to edit the PREAMBLE in the script to set the environment.
> 
> Get rid of this by creating a menu that allows the user the set these
> variables from a menu when running the script.
> 
> Here is the output from running the script with the -h option
> 
> ./src/queuelat/determine_maximum_mpps.sh -h
> Usage:
> determine_maximum_mpps.sh [OPTIONS]
> 
> -c cpulist
> 	List of processors to run on. The default is processor 0
> 	Numbers are separated by commas and may include ranges. Eg. 0,3,7-11

Does the option also do CPU affinity. In this case I would suggest to
use '-a' to go with the pattern.

What about long options? Long options are propably a bit harder to
implement in shell but it would be good in my opinion to keep all those
tests commands as close as possible.

Thanks,
Daniel




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux