# USB 3.0 and performance

**URL:** <https://forums.suse.com/t/usb-3-0-and-performance/26238>\
**Category:** Chatting over the Back Fence\
**Created:** [October 21, 2014, 4:59pm UTC](https://forums.suse.com/t/usb-3-0-and-performance/26238 "2014-10-21T16:59:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Gill](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@John\_Gill](https://forums.suse.com/u/John_Gill)\
**Post date:** [October 21, 2014, 4:59pm UTC](https://forums.suse.com/t/usb-3-0-and-performance/26238/1 "2014-10-21T16:59:42Z")

</div>

Hi,

I need to make backups of my email archive on SuSe11. The archive consists of around 20 million files and is currently about 2 TB in size.  
Is it a viable proposition to back this stuff up to a portable USB 3.0 drive. I assume there are drivers available in SuSE but I don’t know  
what the performance would be like. I have tried this on a fairly fast tape drive but it takes days to complete.

If this is not an option, what would you do?

Regards  
John 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [October 21, 2014, 5:12pm UTC](https://forums.suse.com/t/usb-3-0-and-performance/26238/2 "2014-10-21T17:12:21Z")

</div>

Personal opinion:

I have terrible, terrible luck with many little files when writing.  
Reading them doesn’t seem to be terrible, but writing millions of small  
files takes, seemingly, forever. Overhead, fine, whatever. As a result I  
would probably try to use tar to grab the files, then have it write one  
nice stream of data to the USB drive (or wherever).

```auto
tar -cvf /path/to/backup-location/gw-`date +%s`.tar /path/to/gw/files
```

It may be worthwhile to add some compression in there too, but that will  
slow things down, so I’d probably start with merely creating the tar.  
Note: huge files scare me more than small ones, so maybe worthwhile to  
create a tar per some smaller subset of GW data, so corruption of one  
block of data on the USB drive (because those are so well-known for  
resiliency…) doesn’t lose your entire backup.

Another silly thought: If this is meant as a backup to be used at any  
point in time to recover things, how about using rsync to copy data there?  
You can trivially set it up to copy whatever isn’t already there so that  
your USB copy is kept up to date pretty quickly with the live version.  
The result, after the initial 2 TB sync, should be pretty quick  
synchronization to remove old and add new stuff. Just be SURE you do the  
rsync the right way, particularly if you use the remove-stuff option.  
Tutorials on rsync are prevalent online.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [October 29, 2014, 8:39am UTC](https://forums.suse.com/t/usb-3-0-and-performance/26238/3 "2014-10-29T08:39:10Z")

</div>

Cant’ say much. But I’ve had better luck using Gigabit Ethernet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 5, 2014, 5:16pm UTC](https://forums.suse.com/t/usb-3-0-and-performance/26238/4 "2014-11-05T17:16:01Z")

</div>

We use an internal hot swap bay plugged to a standard sata port in the  
server. You simply need to have a drive in the bay when booting and  
then mount it manually when you need it. Dismount it and change out to  
a new drive when you want. Just make sure to always physically have a  
drive in the bay. We spent a lot of time trying to get usb 3 to work  
and never had any luck.

## – spartanvb

spartanvb’s Profile: [https://forums.novell.com/member.php?userid=57588](https://forums.novell.com/member.php?userid=57588)  
View this thread: [https://forums.novell.com/showthread.php?t=479993](https://forums.novell.com/showthread.php?t=479993)
