On 03.09.2014 23:15, Stefan Fritsch wrote:
> On Wednesday 03 September 2014 15:37:17, Jim Jagielski wrote:
>> It's now ~6 years later and so wondering if just bypassing
>> the pool freelist is now viable, at least as a compile-time
>> (or allocator) option.
> I don't see any reason against a non-default compile-time option. Then 
> people could test it more easily and give feedback.

I do. Distro packages will tend to pick one or the other option, and if
applications have no control over the behaviour, they'll mysteriously
behave differently on different platforms (or even different distros of
the same OS).

We had, and possibly still have, the same problem with using mmap for
pool allocation; I've seen an application mysteriously fail on some
Linux distro because it "ran out of file handles", but turned out to be
hitting a hard limit of the number of mmapped blocks (i.e., pools) per
process. Because the distro packager happened to turn mmap for pools on
at compile time.

I don't think it's a good idea to put potential heisenbugs into the code
by design. :)

-- Brane

Reply via email to