16
5

crawlio: Tool that slows down I/O operations

1y 1mon ago by programming.dev/u/Serpent7776 in commandline@programming.dev from github.com

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

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

There is?

What is it

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.