During creating hugepages by running dpdk-setup.sh script, if we give Non-Numeric inputs, the dpdk-setup.sh still goes to the create_mnt_huge function and prints the misleading information on terminal The output of terminal is as follow Reserving hugepages sh: echo: I/O error Creating /mnt/huge and mounting as hugetlbfs Press enter to continue ... Here "Creating /mnt/huge and mounting as hugetlbfs" is showing that hugepages has been created, And actually hugepages were not created on system. So this is giving the misleading information. We can solve this issue by putting the Non-Numeric check on the input from the user to create hugepages.
John, What do you say? Thanks
I have Submitted the patch for this, which includes the Non-numeric check for input to the 'Setup hugepage mappings' just before going to 'create_mnt_huge' function. Patch link : http://patches.dpdk.org/patch/67855/