8384b00ebe
[EASY] Encapsulate better, do not pass hpa_shard when hooks are enough, move shard independent actions to hpa_utils
Slobodan Predolac
2025-09-30 08:36:19 -07:00
f5f0f063c1
move fill/flush pointer array out of tcache.c
Shirui Cheng
2025-10-21 18:53:35 -07:00
6ced85a8e5
When extracting from central, hugify_eager is different than start_as_huge
Slobodan Predolac
2025-10-13 11:37:49 -07:00
0f8a8d7ebe
Refactor init_system_thp_mode and print it in malloc stats.
guangli-dai
2025-10-07 16:18:07 -07:00
832a332c33
Do not release the hpa_shard->mtx when inserting newly retrieved page from central before allocating from it
Slobodan Predolac
2025-10-07 16:42:15 -07:00
bfc20f2804
Inline the value of an always false boolean local variable
Carl Shapiro
2025-10-06 15:45:38 -07:00
0669f70b67
[EASY] Spelling in the comments
Slobodan Predolac
2025-10-06 12:01:13 -07:00
9000d6160f
Add npurges and npurge_passes to output of pa_benchmark
Slobodan Predolac
2025-09-16 16:50:11 -07:00
a9596253a5
[pa-bench] Add clock to pa benchmark
Slobodan Predolac
2025-09-16 13:25:42 -07:00
f8ef3195e5
[HPA] Add ability to start page as huge and more flexibility for purging
Slobodan Predolac
2025-08-25 13:23:07 -07:00
db943a0d9e
Running clang-format on two files
Slobodan Predolac
2025-09-30 07:13:12 -07:00
2bbcb10d10
Revert "Do not dehugify when purging"
Slobodan Predolac
2025-09-29 09:41:51 -07:00
b76a7306a8
Revert "Remove an unused function and global variable"
Slobodan Predolac
2025-09-29 09:41:14 -07:00
f29cfa8251
Remove Travis Windows CI for now since it has infra failures.
guangli-dai
2025-09-17 10:18:25 -07:00
b7bedaf7a0
[sdt] Add some tracepoints to sec and hpa modules
Slobodan Predolac
2025-08-07 09:34:30 -07:00
d74be2ea7c
Improve the portability of grep patterns in configure.ac
Carl Shapiro
2025-09-12 18:07:12 -07:00
5d18e0b340
Add a page-allocator microbenchmark.
guangli-dai
2025-08-24 23:57:26 -07:00
983773b118
Adding trace analysis in preparation for page allocator microbenchmark.
guangli-dai
2025-08-24 18:56:12 -07:00
c0889acb6c
Replace an instance of indentation with spaces with tabs
Carl Shapiro
2025-09-11 14:46:35 -07:00
28fb5fabe7
Add missing thread_event_registry.c to Visual Studio projects
Aurélien Brooke
2025-09-04 08:55:47 +02:00
cdc3b65300
Update config.guess and config.sub to the latest versions
lexprfuncall
2025-08-26 13:32:57 -07:00
218c989047
Always use pthread_equal to compare thread IDs
Carl Shapiro
2025-08-27 16:48:40 -07:00
d4cde60066
Remove pidfd_open call handling and rely on PIDFD_SELF
Slobodan Predolac
2025-08-26 15:15:08 -07:00
7dcdafea00
Change the default page size to 64KiB on Aarch64 Linux
lexprfuncall
2025-08-25 19:39:30 -07:00
88b29da00a
[EASY][BUGFIX] Spelling and format
Slobodan Predolac
2025-08-23 08:53:28 -07:00
f890bbed4a
Define malloc_{write,read}_fd as non-inline global functions
lexprfuncall
2025-08-06 21:32:16 -07:00
6ced4b5afb
Handle interruptions and retries of read(2) and write(2)
lexprfuncall
2025-08-21 20:44:18 -07:00
5f06b14d1c
Remove an orphaned comment
lexprfuncall
2025-08-05 20:39:04 -07: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
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
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
b6338c4ff6
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
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