tweaked sio-iosched.c