aboutsummaryrefslogtreecommitdiff
path: root/changes/ticket40843
diff options
context:
space:
mode:
authorMicah Elizabeth Scott <beth@torproject.org>2023-08-25 10:51:40 -0700
committerMicah Elizabeth Scott <beth@torproject.org>2023-08-28 10:11:00 -0700
commita3e7e9bda24ff7eff55c87a2b49b3c7442151a76 (patch)
treee4e001c0b2a230d9c259d6ab3d05e43a83d7852d /changes/ticket40843
parent95e8ffa97e413c19c7257c9e6dc9511e98347b68 (diff)
downloadtor-a3e7e9bda24ff7eff55c87a2b49b3c7442151a76.tar.gz
tor-a3e7e9bda24ff7eff55c87a2b49b3c7442151a76.zip
equix: Disable huge page support by default
Equi-X supports optionally allocating its solver memory using huge pages, to reduce the virtual memory subsystem overhead required to make the entire solver buffer live. Tor doesn't use this feature, since it seems to have no noticeable performance benefit at this time, but we still included code for it at compile time. To improve portability, this patch disables huge page support by default and enables it only in the cmake build system used for equix benchmarks. With this patch equix-bench still supports huge pages. Verified using strace that we're making the hugepage allocation. There's no fallback for huge pages, so Equi-X initialization will fail if they are requested and we don't support them for any runtime or compile-time reason. Addresses #40843 (NetBSD) but also prevents future porting issues related to huge pages.
Diffstat (limited to 'changes/ticket40843')
0 files changed, 0 insertions, 0 deletions