Re: [Moses-support] how to test whether tcmalloc is used?

2014-11-26 Thread Barry Haddow
How about: nm -C moses | grep tcmalloc On 26/11/14 11:34, Hieu Hoang wrote: > Best to do what Rico says, but > > If the tcmalloc library is dynamically linked to Moses, running ldd > will show it is linked into moses: > #ldd bin/moses > . > libtcmalloc_minimal.so.4 => /usr/lib/libt

Re: [Moses-support] how to test whether tcmalloc is used?

2014-11-26 Thread Hieu Hoang
Best to do what Rico says, but If the tcmalloc library is dynamically linked to Moses, running ldd will show it is linked into moses: #ldd bin/moses . libtcmalloc_minimal.so.4 => /usr/lib/libtcmalloc_minimal.so.4 (0x7ff49f5a2000) ... You can force it to statically link by delet

Re: [Moses-support] how to test whether tcmalloc is used?

2014-11-26 Thread Rico Sennrich
Li Xiang writes: > > I compile Moses with tcmalloc. How can I test whether tcmalloc is used and evaluate the performance ? > there's probably many ways, but here's three: at compile time, you will see the following message if tcmalloc is not enabled: "Tip: install tcmalloc for faster threadi

[Moses-support] how to test whether tcmalloc is used?

2014-11-25 Thread Li Xiang
I compile Moses with tcmalloc. How can I test whether tcmalloc is used and evaluate the performance ? ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support