thomasmoelhave / tpie

Templated Portable I/O Environment
Other
112 stars 24 forks source link

Cannot create more than 42 Tpie instances simultaneously #220

Closed ghost closed 7 years ago

ghost commented 7 years ago

We use tpie for external sorting in the keyvi project. And when we run it on big machines (128 core) we need to start more than 42 instance simultaneously. Unfortunately we hit the limit of tpie temporary directories created with a second.

Unable to find free name for temporary folder.
Mortal commented 7 years ago

I think a better solution would be to use Boost to make a random directory name: http://stackoverflow.com/a/5988737