check window size effect on transfer speed
add support for compress option