this post was submitted on 14 May 2025
17 points (94.7% liked)

commandline

1977 readers
8 users here now

founded 2 years ago
MODERATORS
 

Crawlio is a simple C tool that slows down I/O operations by adding a specified amount of time to each I/O call. It uses LD_PRELOAD.

  • Test application behaviour under slow I/O conditions
  • Bring back the dial-up nostalgia
  • Learn how to use LD_PRELOAD
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] -1 points 2 days ago (2 children)

If only there was some framework that already did this….

[–] ExperimentalGuy 0 points 1 day ago (1 children)
[–] [email protected] 2 points 1 day ago* (last edited 1 day ago) (1 children)
[–] Serpent7776 1 points 1 day ago

AFAIK you can't do this with BPF as it doesn't have any kind of sleep functionality. I'm also not sure how would you achive this using cgroup, which are about quotas AFAIK.

[–] Serpent7776 0 points 1 day ago