[LTP] [PATCH 1/1] test_zero_hugepage.sh: Detect errors write to /proc/sys/vm/nr_hugepages

Petr Vorel pvorel@suse.cz
Tue Nov 9 10:43:00 CET 2021


Hi all,

> Hi Cyril
> > Hi!
> >>> Agreed, If the system memory is too fragmental to keep
> >>> enough hpages, there won't be an error returned.
> >> OK, wait little longer and then merge with keeping
> >> echo "128">  /proc/sys/vm/nr_hugepages

> > Also I wonder why do we request 128? I guess that 4 would be more than
> > enough.
> I don't think about so much when I wrote this script. Using a small 
> number is also ok for me.

Good point! I thought it's needed to have that high value.
I'll send a separate patch for this.

Merged this one.

Kind regards,
Petr


More information about the ltp mailing list