Commit graph

  • f1643851b8 Add experimental option force using SYS_process_madvise Slobodan Predolac 2025-04-25 18:26:49 -07:00
  • 1956a54a43 [process_madvise] Use process_madvise across multiple huge_pages Slobodan Predolac 2025-04-05 12:14:14 -07:00
  • 0dfb4a5a1a Add output argument to hpa_purge_begin to count dirty ranges Slobodan Predolac 2025-04-08 10:49:05 -07:00
  • cfa90dfd80 Refactor hpa purging to prepare for vectorized call across multiple pages Slobodan Predolac 2025-04-08 09:51:53 -07:00
  • a3910b9802 Avoid forced purging during thread-arena migration when bg thd is on. Qi Wang 2025-04-24 20:21:53 -07:00
  • 76176f6760 feat: add private_namespace and malloc_conf flags Connor McEntee 2025-04-25 18:06:51 -06:00
  • 8b561971c4 feat: enable prof integration tests Connor McEntee 2025-04-21 17:01:55 -06:00
  • 48e68dfc84 Added support for building with prof. (#1) Vincent Tsao 2025-04-25 16:22:10 -07:00
  • 7e842879c2 Avoid forced purging during thread-arena migration when bg thd is on. Qi Wang 2025-04-24 20:21:53 -07:00
  • b6b86c87b1 [process_madvise] Use process_madvise across multiple huge_pages Slobodan Predolac 2025-04-05 12:14:14 -07:00
  • 925d7b3cf5 Add output argument to hpa_purge_begin to count dirty ranges Slobodan Predolac 2025-04-08 10:49:05 -07:00
  • cdf72dda56 Refactor hpa purging to prepare for vectorized call across multiple pages Slobodan Predolac 2025-04-08 09:51:53 -07:00
  • c23a6bfdf6 Add opt.limit_usize_gap to stats guangli-dai 2025-04-10 15:12:52 -07:00
  • c20a63a765 Silence the uninitialized warning from clang. guangli-dai 2025-04-10 15:07:20 -07:00
  • d1fac26692 Add opt.limit_usize_gap to stats guangli-dai 2025-04-10 15:12:52 -07:00
  • 67b2f42eb5 Silence the uninitialized warning from clang. guangli-dai 2025-04-10 15:07:20 -07:00
  • 8949bbe68a fix: build with --stamp Connor McEntee 2025-04-14 21:49:40 -06:00
  • f81fb92a89 Remove Travis CI macOS configs (not supported anymore). Qi Wang 2025-04-14 14:15:14 -07:00
  • 0f3436bfb2 Remove Travis CI macOS configs (not supported anymore). Qi Wang 2025-04-14 14:15:14 -07:00
  • f19f49ef3e if process_madvise is supported, call it when purging hpa Slobodan Predolac 2025-03-12 12:26:52 -07:00
  • 04adb149fe if process_madvise is supported, call it when purging hpa Slobodan Predolac 2025-03-12 12:26:52 -07:00
  • 80e9001af3 Move `extern "C" specifications for C++ to where they are needed Kaspar M. Rohrer 2025-03-29 23:51:20 +01:00
  • 00883eea51 Move `extern "C" specifications for C++ to where they are needed Kaspar M. Rohrer 2025-03-29 23:51:20 +01:00
  • 7b01e60b98 Document the adverse effects of delayed memory return. See #2688. Niklas Hambüchen 2025-03-26 23:20:46 +01:00
  • 3688dfb5c3 fix assertion error in huge_arena_auto_thp_switch() when b0 is deleted in unit test Shirui Cheng 2025-03-19 17:26:33 -07:00
  • 57217c32ed fix assertion error in huge_arena_auto_thp_switch() when b0 is deleted in unit test Shirui Cheng 2025-03-19 17:26:33 -07:00
  • a4defdb854 detect false failure of strerror_r Jay Lee 2025-02-07 14:12:38 +08:00
  • e1a77ec558 Support THP with Huge Arena in PAC Shirui Cheng 2025-03-05 13:00:57 -08:00
  • 86edaaa929 Support THP with Huge Arena in PAC Shirui Cheng 2025-03-05 13:00:57 -08:00
  • 86bbabac32 background_thread: add fallback for pthread_create dlsym Audrey Dutcher 2025-03-06 22:24:27 -07:00
  • 81f35e0b55 Modify Travis tests to use frameptr when profiling Guangli Dai 2025-03-07 11:08:03 -08:00
  • 773b5809f9 Fix frame pointer based unwinder to handle changing stack range Guangli Dai 2025-03-05 17:58:20 -08:00
  • 109a0babc7 Modify Travis tests to use frameptr when profiling Guangli Dai 2025-03-07 11:08:03 -08:00
  • 5091e2fe2f Fix frame pointer based unwinder to handle changing stack range Guangli Dai 2025-03-05 17:58:20 -08:00
  • ad108d50f1 Extend purging algorithm with peak demand tracking Dmitry Ilvokhin 2025-01-21 07:20:15 -08:00
  • 22440a0207 Implement process_madvise support. Qi Wang 2025-02-04 18:31:11 -08:00
  • c3604456d4 Implement process_madvise support. Qi Wang 2025-02-04 18:31:11 -08:00
  • 86988bb5a8 background_thread: add fallback for pthread_create dlsym Audrey Dutcher 2025-03-06 22:24:27 -07:00
  • 70f019cd3a Enable limit-usize-gap in CI tests. Guangli Dai 2024-05-14 14:27:17 -07:00
  • 6035d4a8d3 Cache extra extents in the dirty pool from ecache_alloc_grow Guangli Dai 2025-01-27 23:09:51 -08:00
  • c067a55c79 Introducing a new usize calculation policy guangli-dai 2024-03-26 14:35:29 -07:00
  • ba01b7265d Enable limit-usize-gap in CI tests. Guangli Dai 2024-05-14 14:27:17 -07:00
  • e7aa4e4cac Cache extra extents in the dirty pool from ecache_alloc_grow Guangli Dai 2025-01-27 23:09:51 -08:00
  • 2651071172 Introducing a new usize calculation policy guangli-dai 2024-03-26 14:35:29 -07:00
  • ac279d7e71 Fix profiling sample metadata lookup during xallocx Guangli Dai 2025-03-03 10:17:03 -08:00
  • 7f192e9919 feat: Introduce stable Bazel build Connor McEntee 2025-02-22 11:27:13 -07:00
  • ac5160b549 Fix profiling sample metadata lookup during xallocx Guangli Dai 2025-03-03 10:17:03 -08:00
  • f55e0c3f5c Remove unsupported Cirrus CI config Qi Wang 2025-03-03 13:52:06 -08:00
  • 0d3f53d24f Remove unsupported Cirrus CI config Qi Wang 2025-03-03 13:52:06 -08:00
  • d36aa77e8a Extend purging algorithm with peak demand tracking Dmitry Ilvokhin 2025-01-21 07:20:15 -08:00
  • d815308e03 Cache extra extents in the dirty pool from ecache_alloc_grow Guangli Dai 2025-01-27 23:09:51 -08:00
  • a0d18fe5d7 Modify usize calculation and corresponding tests. guangli-dai 2024-04-18 15:42:14 -07:00
  • 9ce475a135 Adapt hpa to the usize changes. Guangli Dai 2024-06-07 16:18:22 -07:00
  • d01d5b8f4a Change structs use when freeing to avoid using index2size for large sizes. guangli-dai 2024-04-01 16:49:34 -07:00
  • 96b15d5d43 Add bytes counter to arena large stats. guangli-dai 2024-03-25 15:53:59 -07:00
  • bffe921ba0 Prepare pac and hpa psset for size to grow by PAGE over GROUP*PAGE Guangli Dai 2025-01-31 14:14:46 -08:00
  • 499f306859 Fix arena 0 deferral_allowed flag init Dmitry Ilvokhin 2025-02-05 04:32:31 -08:00
  • f0eefbef3e Make hugify system call only when thp=madvise Dmitry Ilvokhin 2025-02-18 10:59:10 -08:00
  • 100b593107 Fix arena 0 deferral_allowed flag init Dmitry Ilvokhin 2025-02-05 04:32:31 -08:00
  • 421b17a622 Remove age_counter from hpa_central Dmitry Ilvokhin 2025-02-05 11:00:15 -08:00
  • 205ba7b223 Prepare tcache for size to grow by PAGE over GROUP*PAGE Guangli Dai 2025-01-31 14:07:05 -08:00
  • eac4163a95 Add config option limit-usize-gap and runtime option limit_usize_gap. guangli-dai 2024-03-26 14:35:29 -07:00
  • 15b2aa022a
    detect false failure of strerror_r Jay Lee 2025-02-07 14:12:38 +08:00
  • 0108e30e79 Remove age_counter from hpa_central Dmitry Ilvokhin 2025-02-05 11:00:15 -08:00
  • c17bf8b368 Disable config from file or envvar with build flag roblabla 2024-07-30 14:56:42 +02:00
  • 34c823f147 Add autoconf options to enable sanitizers Dmitry Ilvokhin 2025-01-10 10:51:21 -08:00
  • 3bc89cfeca Avoid implicit conversion in test/unit/prof_threshold Qi Wang 2025-01-30 10:45:11 -08:00
  • a833059a7e Avoid implicit conversion in test/unit/prof_threshold Qi Wang 2025-01-30 10:45:11 -08:00
  • 1abeae9ebd Fix test/unit/prof_threshold when !config_stats Qi Wang 2025-01-29 21:33:30 -08:00
  • 93140a7960 Add autoconf options to enable sanitizers Dmitry Ilvokhin 2025-01-10 10:51:21 -08:00
  • 86905915ae Fix test/unit/prof_threshold when !config_stats Qi Wang 2025-01-29 21:33:30 -08:00
  • 257e64b968 Unlike prof_sample which is supported only with profiling mode active, prof_threshold is intended to be an always-supported allocation callback with much less overhead. The usage of the threshold allows performance critical callers to change program execution based on the callback: e.g. drop caches when memory becomes high or to predict the program is about to OOM ahead of time using peak memory watermarks. Shai Duvdevani 2025-01-29 15:25:10 -08:00
  • 49b83920a1 Unlike prof_sample which is supported only with profiling mode active, prof_threshold is intended to be an always-supported allocation callback with much less overhead. The usage of the threshold allows performance critical callers to change program execution based on the callback: e.g. drop caches when memory becomes high or to predict the program is about to OOM ahead of time using peak memory watermarks. Shai Duvdevani 2025-01-29 15:25:10 -08:00
  • ef8e512e29 Fix bitmap_ffu out of range read Dmitry Ilvokhin 2025-01-24 07:48:58 -08:00
  • 607b866035 Check for 0 input when setting max_background_thread through mallctl. Qi Wang 2025-01-21 15:15:56 -08:00
  • dd1645a616
    Merge 6b0286df88 into 20cc983314 Nathan Slingerland 2025-01-26 13:44:34 +00:00
  • 3f76493ed1 Fix bitmap_ffu out of range read Dmitry Ilvokhin 2025-01-24 07:48:58 -08:00
  • 20cc983314 Fix the gettid() detection caught by @mrluanma . Qi Wang 2025-01-21 15:06:02 -08:00
  • 7ad13a1b2e Check for 0 input when setting max_background_thread through mallctl. Qi Wang 2025-01-21 15:15:56 -08:00
  • 7ef4d170b3 Fix the gettid() detection caught by @mrluanma . Qi Wang 2025-01-21 15:06:02 -08:00
  • 65b7c80af2 Use AVX to speedup arena_slab_reg_alloc_batch. Amit Kumar 2025-01-19 10:45:30 -08:00
  • 52fa9577ba Fix integer overflow in test/unit/hash.c Dmitry Ilvokhin 2025-01-14 10:46:39 -08:00
  • 93b3b73b49 Fix integer overflow in test/unit/hash.c Dmitry Ilvokhin 2025-01-14 10:46:39 -08:00
  • 6b0286df88 Add profiling stats for backtrace unwind Nathan Slingerland 2025-01-07 15:37:37 -08:00
  • 17881ebbfd Add configure check for gettid() presence Dan Horák 2024-11-08 15:34:06 +00:00
  • 4b88bddbca Conditionally remove unreachable for C23+ appujee 2024-11-06 13:14:10 -08:00
  • d8486b2653 Remove unreachable() macro as c23 already defines it. appujee 2024-10-25 14:00:32 -07:00
  • 587676fee8 Disable psset test when hugepage size is too large. Guangli Dai 2024-12-11 15:24:26 -08:00
  • a17385a882 Enable large hugepage tests for arm64 on Travis Guangli Dai 2024-12-13 15:06:06 -08:00
  • 64e40a1d6d Enable large hugepage tests for arm64 on Travis Guangli Dai 2024-12-13 15:06:06 -08:00
  • bb55eb9b24 Disable psset test when hugepage size is too large. Guangli Dai 2024-12-11 15:24:26 -08:00
  • fc0066d190 Enable large hugepage tests for arm64 on Travis Guangli Dai 2024-12-13 15:06:06 -08:00
  • 6786934280 Fix ehooks assertion for arena creation Guangli Dai 2024-12-09 14:24:19 -08:00
  • 1d922756e5 Fix ehooks assertion for arena creation Guangli Dai 2024-12-09 14:24:19 -08:00
  • 46690c9ec0 Fix test_retained on boxes with a lot of CPUs Dmitry Ilvokhin 2024-11-28 07:10:33 -08:00
  • 8061d30d22 Fix test_retained on boxes with a lot of CPUs Dmitry Ilvokhin 2024-11-28 07:10:33 -08:00
  • b64d7815b7 Keep hugepages in use as long as we can Dmitry Ilvokhin 2024-11-20 06:56:42 -08:00
  • 6092c980a6 Expose psset state stats Dmitry Ilvokhin 2024-11-14 10:52:50 -08:00
  • 9a69bb6c6b Expose psset state stats Dmitry Ilvokhin 2024-11-14 10:52:50 -08:00
  • 3820e38dc1 Remove validation for HPA ratios Dmitry Ilvokhin 2024-11-15 08:53:20 -08:00