You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

GotoBLAS_05LargePage.txt 1.5 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. To enhance perfomance, I'd recommend you to enable large page on
  2. your OS (root account is required).
  3. A) Linux
  4. x86 32bit ... (number of core) * 4 pages
  5. x86 64bit ... (number of core) * 8 pages
  6. POWER 32/64bit ... (number of core) * 1 pages
  7. If you want to allocate 64 large pages,
  8. $shell> echo 0 > /proc/sys/vm/nr_hugepages # need to be reset
  9. $shell> echo 65 > /proc/sys/vm/nr_hugepages # add 1 extra page
  10. $shell> echo 3355443200 > /proc/sys/kernel/shmmax # just large number
  11. $shell> echo 3355443200 > /proc/sys/kernel/shmall
  12. Also may add a few lines into /etc/security/limits.conf file.
  13. * hard memlock unlimited
  14. * soft memlock unlimited
  15. Then restart sshd (/etc/init.d/sshd restart).
  16. B) Solaris
  17. You don't have to set up.
  18. C) Windows (Windows Server 2003 or later, XP 64bit)
  19. You have to assign memory lock operation to your account.
  20. Control Panel -> Administrative Tools -> Local Security Policy ->
  21. Local Policies -> User Rights Assignment -> Lock pages in memory
  22. D) AIX
  23. Ask your administrator
  24. E) Tru64 UNIX
  25. Assign shared memory at boot time.
  26. F) Other aarchitecture which doesn't have Large TLB enhancement
  27. If you have root permission, please install device driver which
  28. located in drivers/mapper.
  29. $shell> cd drivers/mapper
  30. $shell> make
  31. $shell> insmod mapper.ko
  32. $shell> ./device_setup
  33. Then enable DEVICEDRIVER_ALLOCATION = 1 in Makefile.rule.