Opened 6 years ago

#12975 new Feature Requests

Add map_options for managed_mapped_file (managed_open_or_create_impl_device_holder)

Reported by: amirhakh@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost Development Trunk Severity: Optimization
Keywords: managed_mapped_file, mmap, huge Cc:

Description

Hello boost developer's

I use managed_mapped_file for my project to create shared data structure and it is very good solution and simple to use. But i have a problem for big data & big query. I nead to have Huge page memory map file for better performance. I was check source code and see where is pass flag to mmap function in linux but no way to pass this flag from managed_mapped_file.

I can to edit source to pass this argument but i hoop to this change added to boost source for all of developer use .

source class hierarchy:

managed_mapped_file

basic_managed_mapped_file

mfile_open_or_create

managed_open_or_create_impl::priv_open_or_create

-> mapped_region (...,addr/*, map_options*/);

source file hierarchy:

managed_mapped_file.hpp

managed_open_or_create_impl.hpp

mapped_region.hpp

tanks

Change History (0)

Note: See TracTickets for help on using tickets.