La Vita è Bella

Wednesday, May 07, 2008

Some facts about Apple Time Capsule performance

On the Mac side, the initial backup takes me about 6 hours to backup 126GB data, by ethernet cable, so the speed is about 20GB/hr.

The writing speed via 802.11n wireless is as below:

fishy@Makelele:~/Video$ dd if=Pixar\ -\ Lifted.wmv of=/Volumes/Cacapa-1/foo.wmv
91582+1 records in
91582+1 records out
46890385 bytes transferred in 15.478993 secs (3029292 bytes/sec)

That's about 3MB/s. So I think the speed on Mac is acceptable, but it should be faster.

On the Linux side, I use Debian Lenny, with samba, afpfs-ng and a 100M ethernet cable (my Linux machine didn't come with a Gigabit ethernet port). The facts are:

Writing via AFP:

root@deBoer:~# dd if=prog03.mdb of=foo/foo.mdb
8736+0 records in
8736+0 records out
4472832 bytes (4.5 MB) copied, 6.89061 s, 649 kB/s

Writing via SMB:

root@deBoer:~# dd if=prog03.mdb of=/media/cacapa/bar.mdb
8736+0 records in
8736+0 records out
4472832 bytes (4.5 MB) copied, 6.57683 s, 680 kB/s

Reading via AFP:

root@deBoer:~# dd if=foo/bar.mdb of=bar.mdb
8736+0 records in
8736+0 records out
4472832 bytes (4.5 MB) copied, 8.87068 s, 504 kB/s

Reading via SMB:

root@deBoer:~# dd if=/media/cacapa/foo.mdb of=foo.mdb
8736+0 records in
8736+0 records out
4472832 bytes (4.5 MB) copied, 0.919922 s, 4.9 MB/s

So the conclusion is that, for writing, AFP and SMB are both slow. But for reading, SMB is much much faster than AFP, so you should use SMB to connect a Time Capsule on Linux.



tags: , , , , , , , ,

23:19:25 by fishy - General - Permanent Link

Revision: 1.1/1.1, last modified on 2008-05- 7 @ 00:33.

Karma: 18 (58.18% out of 110 were positive) [+/-]

You can subscribe to RSS 2.0 feed for comments and trackbacks

Trackbacks:
Big Fish
关于苹果时间胶囊(Time Capsule)的一些性能数据: 详细的数据见我英文blog上的文章,这里只列结论: Mac上,插网线用千兆网初次备份大约20G每小时,我备份120G的数据用了6小时,还可以接受。 Mac上用802.11n无线网的写入测试速度是3M/s左右,也就是10G/hr左右,也...
2008-05- 7 @ 23:32
Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.

atppp

atppp wrote:

can you test HTTP performance? say wget a file from another (wired) computer via 802.11n. I am getting 6 MB/s speed. I wonder how much overhead samba has..

Monday, June 02, 2008 04:21:13

Add Comment

 

May the Force be with you. RAmen