huge pages, was where are the exit nodes gone?

Olaf Selke olaf.selke at
Tue Apr 13 22:28:26 UTC 2010

Arjan schrieb:
> From that website:
> libhugetlbfs is a library which provides easy access to huge pages of
> memory. It is a wrapper for the hugetlbfs file system. Applications can
> use huge pages to fulfill malloc() requests without being recompiled by
> using LD_PRELOAD.

ok, just started tor with this wrapper. Looks like it's working as expected:

anonymizer2:~/tmp# lsof -np `cat /var/run/tor/` | grep
tor     21716 debian-tor  mem       REG                8,1    145282    5390654 /usr/local/lib64/

anonymizer2:~/tmp# hugeadm --pool-list
      Size  Minimum  Current  Maximum  Default
   2097152      100      107     1000        *

anonymizer2:~/tmp# cat /proc/meminfo | grep -i hugepage
HugePages_Total:     107
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        7
Hugepagesize:       2048 kB

Keep you posted how it changes performance.
Will go to sleep now, Olaf
To unsubscribe, send an e-mail to majordomo at with
unsubscribe or-talk    in the body.

More information about the tor-talk mailing list