criu/compel/include/uapi
Andrei Vagin 2e6967ac83
compel: remove hardware breakpoint usage
Hardware breakpoints were originally intended to speed up the resume process
by stopping the process at a specific point in the pie code. However, it
turned out that they don't provide a significant speedup and, in some cases,
can even slow it down. This is especially critical for hosts with a large
number of CPUs.

Hardware Breakpoint Restore Performance Benchmark
==================================================

System: Linux 6.17.0-1007-gcp x86_64
CPU:    INTEL(R) XEON(R) PLATINUM 8581C CPU @ 2.10GHz
Virt:   google
CRIU:   Version: 4.2
Iterations per data point: 5

Threads         With BP (us) Without BP (us)     Diff (%)
--------        ------------ ---------------     --------
>>> Benchmarking with 1 thread(s)...
1                        391             326        19.9%
>>> Benchmarking with 10 thread(s)...
10                      1098             695        58.0%
>>> Benchmarking with 50 thread(s)...
50                      3772            2344        60.9%
>>> Benchmarking with 100 thread(s)...
100                     6740            4504        49.6%
>>> Benchmarking with 500 thread(s)...
500                    31382           19982        57.1%
>>> Benchmarking with 1000 thread(s)...
1000                   58617           40568        44.5%

Notes:
  'With BP'    = hardware breakpoints enabled (current default)
  'Without BP' = CRIU_FAULT=130 (FI_NO_BREAKPOINTS, uses PTRACE_SYSCALL)
  Positive diff% means breakpoints are slower

Signed-off-by: Andrei Vagin <avagin@google.com>
2026-07-21 13:40:18 +02:00
..
asm compel: make include/uapi/asm symlink permanent 2017-03-15 00:09:56 +03:00
common compel: uapi -- Add common symlink 2017-03-15 00:06:12 +03:00
compel compel: make include/uapi symlink permanent 2017-03-15 00:09:55 +03:00
cpu.h compel/criu: Add __must_check 2020-02-04 12:39:04 -08:00
handle-elf.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
infect-rpc.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
infect-util.h criu: use libuuid for criu_run_id generation 2025-03-21 12:40:31 -07:00
infect.h compel: remove hardware breakpoint usage 2026-07-21 13:40:18 +02:00
ksigset.h ksigset: fix a typo in ksigdelset 2021-09-03 10:31:00 -07:00
log.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
loglevels.h clang-format: do automatic comment fixups 2022-04-28 17:53:52 -07:00
plugins compel: Include compel headers as system ones 2017-03-15 00:06:02 +03:00
plugins.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
ptrace.h compel: remove hardware breakpoint usage 2026-07-21 13:40:18 +02:00
sigframe-common.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
task-state.h Run 'make indent' on header files 2021-09-03 10:31:00 -07:00