Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why is my tape drive slow?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
chrisl456
n00b
n00b


Joined: 12 Jan 2004
Posts: 18

PostPosted: Mon May 02, 2005 11:23 pm    Post subject: Why is my tape drive slow? Reply with quote

Hello forum,

I'm trying to figure out why my Exabyte VXA-2 drive isn't performing up to spec (12 MB/s, see http://exabyte.com/products/products/get_products.cfm?prod_id=400&product=VXA%2D2%20Packet%20Tape%20Drive). I'm using tar like so to put data on it:

Code:
tar cvf /dev/nst0 --preserve --exclude=/backups/blah --exclude=/backups/stuff /backups


It takes almost 14 hours to write about 86GB of data. I did some rough calculations, and came up with 120 minutes (86000 / 12 = 7166 seconds, / 60 = 119.4 minutes). So it's apparently taking 7 times as long as advertised to write to tape. The bottleneck may be the IDE drive that tar is primarily reading from - I know it's a bit slow. Other than that, I don't really know why it would be running so slow.

Any ideas?
_________________
-chris
Back to top
View user's profile Send private message
Sloden
Tux's lil' helper
Tux's lil' helper


Joined: 30 Dec 2004
Posts: 93
Location: Nidaros: Card Board Box, Second Floor

PostPosted: Tue May 03, 2005 8:26 am    Post subject: Reply with quote

I realize that this isn't the case, but if the speed were 12 mega 'bit' a second you'd be right on track. You might wanna try "hdparm -tT /dev/nst0" to estimate your drive specs. As i have no idea if hdparm really works with tape drives i take no responsibility whatsoever if your box decides to self implode. :D Good luck.

Try this:
https://forums.gentoo.org/viewtopic-t-330882-highlight-tape.html
_________________
Screenshot of the month
Back to top
View user's profile Send private message
chrisl456
n00b
n00b


Joined: 12 Jan 2004
Posts: 18

PostPosted: Tue May 03, 2005 5:12 pm    Post subject: Reply with quote

Yep, I've confirmed that the drive is supposed to be writing at 12 megabytes per second (PDF:http://www.exabyte.com/support/online/documentation/drives/10095413.pdf, see ch. 8).

Also, restoring off the tape takes so long that I've never really had a successful restore!

Anyone have any ideas what could be wrong?

Thanks!
_________________
-chris
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue May 03, 2005 5:32 pm    Post subject: Reply with quote

Hei

Did you read through this?
http://www.exabyte.com/support/online/kb/display.cfm?id=794

mvh

edit: to get the best out of the device you have to keep it streaming.
question is how fast are your disks transferring, the good old hdparm -Tt /dev/hdx check might be a starting
place. lot of good info here too http://64.233.183.104/search?q=cache:d-uUxUHYAV0J:www.exabyte.com/support/online/documentation/whitepapers/optimizing.pdf+Exabyte+VXA-2+poor+performance&hl=no&lr=lang_da|lang_en|lang_no|lang_sv&client=firefox
_________________
"I am not bound to please thee with my answers" W.S.


Last edited by Cintra on Tue May 03, 2005 5:43 pm; edited 2 times in total
Back to top
View user's profile Send private message
Drunkula
Apprentice
Apprentice


Joined: 28 Jul 2003
Posts: 257
Location: Denton, TX - USA

PostPosted: Tue May 03, 2005 5:33 pm    Post subject: Reply with quote

Instead of using nst0 can you use nht0 instead (the non-scsi-emulated ATA tape device) and see if that makes a difference. IIRC nht0 would be the correct counterpart.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum