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

1 comment - 1 trackback - karma: 17 [+/-]

Tuesday, April 29, 2008

Apple Time Capsule hand on

After long waiting, I got one finally.

The box:

Time Capsule - the box

Unboxing:

Time Capsule - unboxing

And then working!

Time Capsule - working

And here's a note, the command to limit my 1TB Time Capsule use only 500G for backup (so that I can use the other 500G for other stuffs), according to the comment of this hint:

hdiutil resize -size 500g -shrinkonly /Volumes/path/to/sparsebundle/

But the speed of backup is really really slow, that disappointed me. What a shame! It would be perfect if the backup speed up.



tags: , , , , , ,

20:28:59 by fishy - General - Permanent Link

no comments yet - no trackbacks yet - karma: 26 [+/-]

Monday, April 14, 2008

Flickr Video vs. Youtube

Finally, Video on Flickr!

I've uploaded a test video:

And here's the same video on youtube, to be compared:

So here's the comparison:

So, from now on, I may move from youtube to flickr, flickr rocks!



tags: , , ,

22:03:36 by fishy - General - Permanent Link

2 comments - no trackbacks yet - karma: 6 [+/-]

Saturday, October 27, 2007

Gmail IMAP and Date in emails

UPDATE: As in RFC 2822, the format Gmail used is "obsolete", which means although it's not recommended, clients such as Thunderbird should support it.

Finally I've got my Gmail account with IMAP access. I use Thunderbird as the mail client, and find that the "date" of many mails are the time I retrieved them via IMAP, which is incorrect.

These mails including gtalk chat logs and Gmail invitation accepted responses, that means most of the mails are sent/generated by Gmail.

An incorrect date mail have a Date line in the headers like this:

Date: Fri, 1 Dec 2006 05:35:25 -0800 (PST)

And a normal mail have a Date line in the headers like this:

Date: Thu, 21 Dec 2006 19:16:34 +0800

Seems that the problem is, Thunderbird didn't recognize a Date line with a 3-letter timezone description(the "PST" in this example), so it use the date retrieved instead.

As most of mail clients (even Gmail itself) didn't add this timezone description in the Date line while sending a mail, I guess it's Gmail's fault to add it into the chat logs and invitation responses to make it unstandard? Anyone can tell me what's the definition in the RFC?



tags: , , , ,

16:54:37 by fishy - General - Permanent Link

1 comment - 1 trackback - karma: -5 [+/-]

Thursday, July 13, 2006

Can google search it out?

Here's a funny domain name: http://www.mamashuojiusuannizhucedeyumingzaichanggoogledounengsousuochulai.cn/

This domain is in Chinese pinyin, which means:

Mom says that, whatever how long your domain name is, Google can also search it out

But, can google really search it out? ;)



tags: , ,

21:22:28 by fishy - General - Permanent Link

no comments yet - no trackbacks yet - karma: 14 [+/-]

Sunday, July 02, 2006

Name my computers

I've got my new MacBook (hooray!), and decide to name my computers, base on their system.

For my new MacBook, the name's McManaman, he's one of my favorite players :P

Based on this rule, I named my old lap-top with Debian to deBoer.

And finally, I decided to name my router Routledge, this name is perfect for a router, isn't it? ;)



tags: , ,

03:58:00 by fishy - General - Permanent Link

2 comments - no trackbacks yet - karma: 22 [+/-]

Friday, May 26, 2006

Added gravatar support here.

When commenting, you can leave your e-mail address to use your gravatar pix.

I used rakaz's gravatar plugin for Nucleus, but with my own hack ;)

Warning: Your e-mail will be shown, you may not want this happen.I've modified the template so that your e-mail will be hidden. Cheers.

22:04:16 by fishy - General - Permanent Link

5 comments - no trackbacks yet - karma: 42 [+/-]

Wednesday, May 24, 2006

Upgrade NucleusCMS from 3.22 to 3.23

Wake up this morning, I've got a notification from the author of NucleusCMS that NucleusCMS 3.23 is out now. So I downloaded the upgrade files and upgrade.

In the upgrade files, there's only 1 language file: english.php, but I'm using english-utf8.php. After the upgrading I diff'd these 2 file, and found that in my english-utf8.php, there's no new line at EOF but english.php does have a new line. So I added it.

But then I can't visit my blog homepage, NucleusCMS says that header is already sent in english-utf8.php at line XXX, this is often because a newline at end of config.php bla bla. And the line it indicated in english-utf8.php is the newline I just added :( I removed it, and it works now.

So, why does the english.php in the official package has a newline at EOF?



tags: , ,

11:08:20 by fishy - General - Permanent Link

no comments yet - no trackbacks yet - karma: 13 [+/-]

Sunday, October 02, 2005

Comments here should be OK now.

I'm sorry that while upgrading Nucleus from 3.15 to 3.22, I've forgotten to upgrade files, but only upgrade database, so that Captcha doesn't work. Now it should work.

06:53:57 by fishy - General - Permanent Link

1 comment - no trackbacks yet - karma: 19 [+/-]

May the Force be with you. RAmen