crawlio: Tool that slows down I/O operations

a year ago by Serpent7776 to c/commandline

Tool that slows down I/O operations. Contribute to serpent7776/crawlio development by creating an account on GitHub.

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
chonkyninja -1 points a year ago

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

path: 0 17059423, hotness: undefined, score: -1, children: 4
Serpent7776 0 points a year ago

There is?

path: 0 17059423 17072515, hotness: undefined, score: 0, children: 0
ExperimentalGuy 0 points a year ago

What is it

path: 0 17059423 17073332, hotness: undefined, score: 0, children: 2
chonkyninja 2 points a year ago path: 0 17059423 17073332 17079997, hotness: undefined, score: 2, children: 1
Serpent7776 1 point a year 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.

path: 0 17059423 17073332 17079997 17088297, hotness: undefined, score: 1, children: 0
commandline
commandline

@programming.dev

login for more options
2243
131
23

go to feed...