Hello,
I'm on LS2088
I just wanted to know if there was another way of setting up hugepages than forcing the /boot/grub/ls2088ardb_grub.cfg
I feel like it's not the right way but i couldn't find other ways...
Thanks
You could set up hugepage in Linux Kernel bootargs, please refer to the following.
default_hugepagesz=1024m hugepagesz=1024m hugepages=8
Yes, these are the values I want to set.
But my question is where do I specify it?
I tried modifying /etc/sysctl.conf and /boot/grub/ls2088ardb_grub.cfg, both without success
Under u-boot, configure bootargs as the following.
setenv bootargs "console=ttyS1,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0600 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=8"