by dragontamer · 5y ago · 0 comments
Despite the long time to read/write, any situation where capacity is king (aka: any Tape-drive solution today), probably benefits from something like this.
This isn't a solution where you backup / restore from per se, but instead provide dozens of backups to (and probably only restore once from). Every day, you backup up to 42TBs of data (512MBps going full tilt for all 24-hours).
Then, when your backups fail, or someone asks for data from 3 weeks ago, you rewind the tape and grab that data. Crazy that this would all fit on one tape potentially.
I realize that's just an assumption for the sake of discussion (and thank you for labeling it as one), but I think it's a little on the low side.
Wikipedia says (https://en.wikipedia.org/wiki/Linear_Tape-Open#Generations) that LTO-9 can write at 400 MB/s native and LTO-10 is going to be 1100 MB/s.
Since this new Fujifilm format is denser, I would expect it to be even higher speed. Although speed and density don't have a simple linear relationship, speed generally increases with density.
Generating enough data to keep the tape moving without a buffer getting empty is an important consideration, but I think this product is mostly aimed at people who have enough data to back up that they can fill a tape in a few hours. (Otherwise, why spend the money on cutting edge technology?) So they probably have lots and lots of machines to back up, and you can stream backups in parallel, writing to a staging area and/or multiplexing onto the tape.
Also, there's some risk if you leave a tape in the drive and append to it over the course of several days. While it's still in the drive, it's not quite an offline backup. The drive could malfunction and chew up the tape, or some software could accidentally rewind and start overwriting.
I ended up writing a custom software with an adaptive scheduler to avoid sudden speed changes.
That is to say as far as I am concerned my ancient LTO6 drive is too fast...
AFAIK most large businesses wind up writing to disk and then queuing the resulting serialized virtual tapes for actual writing at a later time. This basically turns the virtual tape library into a massive write buffer. It's absolutely insane that we have to do this - but a lot of archival utilities aren't built for async/parallel IO and thus aren't taking advantage of modern storage devices.
- It uses a block size that matches the disk
- It uses 50% of my RAM as a ring buffer
- On start (and on buffer underrun) it waits for the buffer to fill before it starts writing to tape.
- It adjust the tape write speed as an exponential function of the buffer fill level. I am proud of this last one. It is very simple and automatically converges to the best average speed to keep both the tape speed and the buffer level relatively stable.
I have been considering making the reading multi threaded to make use of more disks, but that would be a bit of an overkill for my personal 2 disk NAS.
edit:formatting
http://www.maier-komor.de/mbuffer.html
Why not publish yours as well?
For other file systems (not ZFS), spd_readdir.so can offer a good performance boost.
https://kernel.googlesource.com/pub/scm/linux/kernel/git/djw...
It's probably possible to do the same on ZFS, but CoW certainly makes realizing this concept more difficult.
- How frequently do you perform backups?
- How often do you do fulls vs incremental?
- What drive/autoloader are you using, and what was the total investment in drive + tapes?
I keep considering a used LTO but I've only got 20 TB and it doesn't seem worth the trouble. I should just buy another 20 TB of drives and keep them offline when not backing up.
Still a long time to write.
It'd probably be mediated with a thicker tape with a thicker head: the thicker the tape, the more "data per inch" passes through the head, which allows bandwidth to increase. That would change the LTO-tape dimensions however, so that probably isn't an option.
Fortunately, by shrinking down the size of data (more data per square mm), the bandwidth necessarily increases. So maybe this technology will have a faster read/write speed than today's tech.
The data on an LTO tape is written in a serpentine manner, or boustrophedon if you prefer, with overlapping series of tracks separated by the servo tracks used to position the head.
I dunno, if multiple heads were worth it, I think it would be common.