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