Set up hugepage

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Set up hugepage

2,162件の閲覧回数
LeNormich
Contributor I

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

0 件の賞賛
返信
3 返答(返信)

2,148件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

You could set up hugepage in Linux Kernel bootargs, please refer to the following.

default_hugepagesz=1024m hugepagesz=1024m hugepages=8

0 件の賞賛
返信

2,139件の閲覧回数
LeNormich
Contributor I

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

0 件の賞賛
返信

2,121件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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"

0 件の賞賛
返信