Commit graph

  • ed426d4c0e Always use pthread_equal to compare thread IDs Carl Shapiro 2025-08-27 16:48:40 -07:00
  • 218c989047 Always use pthread_equal to compare thread IDs Carl Shapiro 2025-08-27 16:48:40 -07:00
  • 101513b526 Remove pidfd_open call handling and rely on PIDFD_SELF Slobodan Predolac 2025-08-26 15:15:08 -07:00
  • d4cde60066 Remove pidfd_open call handling and rely on PIDFD_SELF Slobodan Predolac 2025-08-26 15:15:08 -07:00
  • 6790c57953 Change the default page size to 64KiB on Aarch64 Linux lexprfuncall 2025-08-25 19:39:30 -07:00
  • 7dcdafea00 Change the default page size to 64KiB on Aarch64 Linux lexprfuncall 2025-08-25 19:39:30 -07:00
  • 458db0ea28 [EASY][BUGFIX] Spelling and format Slobodan Predolac 2025-08-23 08:53:28 -07:00
  • 88b29da00a [EASY][BUGFIX] Spelling and format Slobodan Predolac 2025-08-23 08:53:28 -07:00
  • f4b86c4cca Define malloc_{write,read}_fd as non-inline global functions lexprfuncall 2025-08-06 21:32:16 -07:00
  • f890bbed4a Define malloc_{write,read}_fd as non-inline global functions lexprfuncall 2025-08-06 21:32:16 -07:00
  • 405661052f Handle interruptions and retries of read(2) and write(2) lexprfuncall 2025-08-21 20:44:18 -07:00
  • 6ced4b5afb Handle interruptions and retries of read(2) and write(2) lexprfuncall 2025-08-21 20:44:18 -07:00
  • 9dd4e1e482 Remove an orphaned comment lexprfuncall 2025-08-05 20:39:04 -07:00
  • 5f06b14d1c Remove an orphaned comment lexprfuncall 2025-08-05 20:39:04 -07:00
  • f7232fc1de Revert PR #2608: Manually revert commits 70c94d..f9c0b5 Shirui Cheng 2025-07-15 15:44:14 -07:00
  • e2da7477f8 Revert PR #2608: Manually revert commits 70c94d..f9c0b5 Shirui Cheng 2025-07-15 15:44:14 -07:00
  • 755913a3d3 Fix the compilation check for process madvise lexprfuncall 2025-08-21 11:16:33 -07:00
  • 9186700eb3 Fix the compilation check for process madvise lexprfuncall 2025-08-21 11:16:33 -07:00
  • a815804590 Save and restore errno when calling process_madvise Slobodan Predolac 2025-08-13 17:59:36 -07:00
  • 4f126b47b3 Save and restore errno when calling process_madvise Slobodan Predolac 2025-08-13 17:59:36 -07:00
  • 3a7ece7226 Remove an unused function and global variable lexprfuncall 2025-08-20 16:30:00 -07:00
  • acd85e5359 Remove an unused function and global variable lexprfuncall 2025-08-20 16:30:00 -07:00
  • c4844e9613 Experimental configuration option for fast path prefetch from cache_bin Slobodan Predolac 2025-06-04 09:48:14 -07:00
  • f9fae9f1f8 Experimental configuration option for fast path prefetch from cache_bin Slobodan Predolac 2025-06-04 09:48:14 -07:00
  • fb2cba5926 Use relaxed atomics to access the process madvise pid fd lexprfuncall 2025-08-04 13:13:27 -07:00
  • c45b6223e5 Use relaxed atomics to access the process madvise pid fd lexprfuncall 2025-08-04 13:13:27 -07:00
  • e98a99db06 Do not dehugify when purging lexprfuncall 2025-08-04 14:43:03 -07:00
  • 16c5abd1cd Do not dehugify when purging lexprfuncall 2025-08-04 14:43:03 -07:00
  • 4af7197ae6 Fix several spelling errors in comments lexprfuncall 2025-08-04 11:25:10 -07:00
  • 0d071a086b Fix several spelling errors in comments lexprfuncall 2025-08-04 11:25:10 -07:00
  • 2c655f83fc [process_madvise] Make init lazy so that python tests pass. Reset the pidfd on fork Slobodan Predolac 2025-07-25 10:14:28 -07:00
  • 97d25919c3 [process_madvise] Make init lazy so that python tests pass. Reset the pidfd on fork Slobodan Predolac 2025-07-25 10:14:28 -07:00
  • 1f517e6bad Add several USDT probes for hpa Slobodan Predolac 2025-06-10 11:44:23 -07:00
  • fb52eac372 Add several USDT probes for hpa Slobodan Predolac 2025-06-10 11:44:23 -07:00
  • 320e83681a Add experimental support for usdt systemtap probes Slobodan Predolac 2025-06-09 21:29:55 -07:00
  • 9dd7b075b6 Add experimental support for usdt systemtap probes Slobodan Predolac 2025-06-09 21:29:55 -07:00
  • fe04b2dc54 Ignore the clang-format changes in the git blame. guangli-dai 2025-06-20 14:41:13 -07:00
  • 1c826c924a Ignore the clang-format changes in the git blame. guangli-dai 2025-06-20 14:41:13 -07:00
  • f1bba4a87c Reformat the codebase with the clang-format 18. guangli-dai 2025-06-13 12:31:12 -07:00
  • 34f359e0ca Reformat the codebase with the clang-format 18. guangli-dai 2025-06-13 12:31:12 -07:00
  • 0a6215c171 Update the default value for opt_experimental_tcache_gc and opt_calloc_madvise_threshold Shirui Cheng 2025-06-04 13:28:37 -07:00
  • ae4e729d15 Update the default value for opt_experimental_tcache_gc and opt_calloc_madvise_threshold Shirui Cheng 2025-06-04 13:28:37 -07:00
  • 3026bea876 Remove --enable-limit-usize-gap for cirrus CI since the config-time option is removed. Guangli Dai 2025-06-13 15:46:51 -07:00
  • 95f9f934ca Remove --enable-limit-usize-gap for cirrus CI since the config-time option is removed. Guangli Dai 2025-06-13 15:46:51 -07:00
  • 4d6b5f3f56 Update appveyor settings. guangli-dai 2025-06-13 14:15:50 -07:00
  • f9e9e0986a Update appveyor settings. guangli-dai 2025-06-13 14:15:50 -07:00
  • 188e62424a test/unit/psset.c: fix SIGSEGV when PAGESIZE is large dzhao.ampere 2025-06-11 15:15:25 +08:00
  • d58e311320 test/unit/psset.c: fix SIGSEGV when PAGESIZE is large dzhao.ampere 2025-06-11 15:15:25 +08:00
  • 390e70c840 [thread_event] Add support for user events in thread events when stats are enabled Slobodan Predolac 2025-03-28 07:35:53 -07:00
  • b2a35a905f [thread_event] Remove macros from thread_event and replace with dynamic event objects Slobodan Predolac 2025-03-14 06:34:05 -07:00
  • d49fc48ef1 [thread_event] Add support for user events in thread events when stats are enabled Slobodan Predolac 2025-03-28 07:35:53 -07:00
  • 387e9f0911 [thread_event] Remove macros from thread_event and replace with dynamic event objects Slobodan Predolac 2025-03-14 06:34:05 -07:00
  • 3866241cfa
    Merge c0e9a8d326 into 1972241cd2 Slobodan Predolac 2025-06-05 14:06:22 -07:00
  • c0e9a8d326 Experimental configuration option for fast path prefetch from cache_bin Slobodan Predolac 2025-06-04 09:48:14 -07:00
  • 01b371cd4a
    Merge d7e78bc2f7 into 1972241cd2 David CARLIER 2025-06-02 21:54:12 +03:00
  • 7361bb1c36
    Merge fc4a4d74eb into 1972241cd2 Paul Smith 2025-06-02 21:54:12 +03:00
  • 4a3b360a3f
    Merge 1e1ac454b7 into 1972241cd2 harana 2025-06-02 21:54:12 +03:00
  • 1355efc265
    Merge 17ae5b5747 into 1972241cd2 Samuel Thibault 2025-06-02 21:54:12 +03:00
  • 91ef5ee427
    Merge fe12022b68 into 1972241cd2 Robin Lambertz 2025-06-02 21:54:12 +03:00
  • 80edf7dd16
    Merge 65b7c80af2 into 1972241cd2 Amit Kumar 2025-06-02 21:54:12 +03:00
  • e0c5dab5a4
    Merge 3ebca8b44f into 1972241cd2 Salvatore Dipietro 2025-06-02 21:54:12 +03:00
  • 99bccf5f10
    Merge a7b0bafb10 into 1972241cd2 Dave Neary 2025-06-02 21:54:12 +03:00
  • 1972241cd2 Remove unused options in the batched madvise unit tests. Qi Wang 2025-06-02 11:24:55 -07:00
  • 27d7960cf9 Revert "Extend purging algorithm with peak demand tracking" Jason Evans 2025-05-19 21:09:01 -07:00
  • edaab8b3ad Turn clang-format off for codes with multi-line commands in macros guangli-dai 2025-05-22 22:59:00 -07:00
  • 4531411abe Modify .clang-format to have declarations aligned guangli-dai 2025-05-20 11:58:26 -07:00
  • 1818170c8d Fix binshard.sh by specifying bin_shards for all sizes. guangli-dai 2025-05-07 17:39:20 -07:00
  • fd60645260 Add one more check to double free validation. guangli-dai 2025-05-07 16:37:26 -07:00
  • 920784fc73 Turn clang-format off for codes with multi-line commands in macros guangli-dai 2025-05-22 22:59:00 -07:00
  • 24b683fffc Modify .clang-format to have declarations aligned guangli-dai 2025-05-20 11:58:26 -07:00
  • 615f285ff2 Fix binshard.sh by specifying bin_shards for all sizes. guangli-dai 2025-05-07 17:39:20 -07:00
  • 6a8ef75364 Add one more check to double free validation. guangli-dai 2025-05-07 16:37:26 -07:00
  • 366bfc781b Derive arena constants from MALLOCX_ARENA_BITS Xin Yang 2025-05-23 16:00:55 +08:00
  • 5e460bfea2 Refactor: use the cache_bin_sz_t typedef instead of direct uint16_t Xin Yang 2025-05-13 11:25:13 +08:00
  • 9169e9272a Fix: Adjust CACHE_BIN_NFLUSH_BATCH_MAX size to prevent assert failures Xin Yang 2025-05-13 11:01:36 +08:00
  • f19a569216 Ignore formatting commit in blame. guangli-dai 2025-05-19 15:15:49 -07:00
  • 810ef21477 Ignore formatting commit in blame. guangli-dai 2025-05-19 15:15:49 -07:00
  • b6338c4ff6 EASY - be explicit in non-vectorized hpa tests Slobodan Predolac 2025-05-19 15:17:35 -07:00
  • 7e2bc145e4 EASY - be explicit in non-vectorized hpa tests Slobodan Predolac 2025-05-19 15:17:35 -07:00
  • 554185356b Sample format on tcache_max test guangli-dai 2025-04-18 11:45:57 -07:00
  • 3cee771cfa Modify .clang-format to make it more aligned with current freebsd style guangli-dai 2025-04-17 15:29:34 -07:00
  • 03b4ae20e9 Sample format on tcache_max test guangli-dai 2025-04-18 11:45:57 -07:00
  • 956bdf815c Modify .clang-format to make it more aligned with current freebsd style guangli-dai 2025-04-17 15:29:34 -07:00
  • 730ff7f2bc Refactor: use the cache_bin_sz_t typedef instead of direct uint16_t Xin Yang 2025-05-13 11:25:13 +08:00
  • 3154db82ac Fix: Adjust CACHE_BIN_NFLUSH_BATCH_MAX size to prevent assert failures Xin Yang 2025-05-13 11:01:36 +08:00
  • 3c14707b01 To improve reuse efficiency, the maximum coalesced size for large extents in the dirty ecache has been limited. This patch was tested with real workloads using ClickHouse (Clickbench Q35) on a system with 2x240 vCPUs. The results showed a 2X in query per second (QPS) performance and a reduction in page faults to 29% of the previous rate. Additionally, microbenchmark testing involved 256 memory reallocations resizing from 4KB to 16KB in one arena, which demonstrated a 5X performance improvement. Jiebin Sun 2025-04-25 02:04:05 -07:00
  • 3ebca8b44f Removed atomics and added guards for compilers Salvatore Dipietro 2025-05-12 14:26:14 -07:00
  • d1bb7c6ba7 relay on HWCAP_SB definition Salvatore Dipietro 2025-05-09 17:05:38 -07:00
  • 5304ab5460 Added sb instruction support for ARMv9 architecture Salvatore Dipietro 2025-05-01 16:19:08 -07:00
  • f81b199a7a To improve reuse efficiency, the maximum coalesced size for large extents in the dirty ecache has been limited. This patch was tested with real workloads using ClickHouse (Clickbench Q35) on a system with 2x240 vCPUs. The results showed a 2X in query per second (QPS) performance and a reduction in page faults to 29% of the previous rate. Additionally, microbenchmark testing involved 256 memory reallocations resizing from 4KB to 16KB in one arena, which demonstrated a 5X performance improvement. Jiebin Sun 2025-04-25 02:04:05 -07:00
  • a7b0bafb10 Fix error with conditional around page size for Arm64 servers Dave Neary 2025-05-06 20:21:15 -04:00
  • 4d8356c855 Use LG_SIZE=16 by default for aarch64-linux-gnu - 64K and 16K page sizes should be supported out of the box. Dave Neary 2025-05-06 19:25:19 -04:00
  • 37bf846cc3 Fixes to prevent static analysis warnings. guangli-dai 2025-05-02 15:58:27 -07:00
  • 8347f1045a Renaming limit_usize_gap to disable_large_size_classes guangli-dai 2025-04-16 11:57:55 -07:00
  • 01e9ecbeb2 Remove build-time configuration 'config_limit_usize_gap' Guangli Dai 2025-04-15 23:50:43 -07:00
  • b52cd6f418 Fixes to prevent static analysis warnings. guangli-dai 2025-05-02 15:58:27 -07:00
  • db4f5f7461
    chore: Treate the prof=true backtrace method as an enum (#2) Connor 2025-05-03 11:00:26 -06:00
  • 1cc32aef65 Renaming limit_usize_gap to disable_large_size_classes guangli-dai 2025-04-16 11:57:55 -07:00
  • 51895c03e5 Remove build-time configuration 'config_limit_usize_gap' Guangli Dai 2025-04-15 23:50:43 -07:00
  • 852da1be15 Add experimental option force using SYS_process_madvise Slobodan Predolac 2025-04-25 18:26:49 -07:00