1. A method for dynamically computing an estimated compression ratio comprising: computing an estimated compression ratio for data written to a virtual tape library; and providing an end-of-tape signal based on the estimated compression ratio indicating when to stop writing data to a virtual tape of the virtual tape library.