[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: huge pages, was where are the exit nodes gone?
Arjan schrieb:
>
> http://libhugetlbfs.ozlabs.org/
> 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/tor.pid` | grep libhugetlbfs.so
tor 21716 debian-tor mem REG 8,1 145282 5390654 /usr/local/lib64/libhugetlbfs.so
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@xxxxxxxxxxxxxx with
unsubscribe or-talk in the body. http://archives.seul.org/or/talk/