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
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.
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.