Practical RAID-1 read balancing

If you're doing performance analysis of a RAID-1 setup, one of theinteresting questions is 'which drive gets read from when?'

(Measuring how balanced the current IO load is is useful, but it doesn'ttell you how a changed load will affect the balance.)

Since seeks are the expensive thing on modern drives, you want yourRAID-1 system to deal in requests, not in individual blocks, and to senda sequence of sequential reads off to the same disk. If


A surprising effect of RAID-1 resynchronization

Today I got to run into an interesting performance impact of having aRAID-1 mirror resync running on a big partition of a live system.

An important system was having performance problems today, so we werepoking around it. When we watched the disk statistics, we noticed thatonly the first disk was seeing read traffic; the second disk was loafingalong with just occasional bursts of writes. Looking more closely wenoticed that a RAID-1 resync of a big partition was in progress; becausethe system was loaded


A web spider update: not actually Uptilt's web spider

A while back, I wrote an entry about a bad web spider that at the time appeared to belong toUptilt Inc. About a week after I published the entry, some of thesystem administration folks from Uptilt stumbled across it and got intouch with me to look into the whole situation.

In fact they were pretty puzzled about the incident, because (asthey put it) Uptilt didn't even do outgoing HTTP, much less have aweb crawler; their business is based on email. After I provided


人頭馬一開,好事自然來

終於發生好事了。自從某人告訴我一個大江健三郎式的方式之後,心情大好,人生充滿盼望,動力無限,還差一點就可以正常地寫東西了。

然後,又發現了一個 有點意思的心理測驗 ,可以一洗本blog頹風,讓一直以來捧場的讀者不

傲慢與偏見 – 愛與金

prideandprejudice

我沒有看過《傲慢與偏見》這本經典小說,但電影版本確實很不錯。背景落於中古時期英國,講的是貴族男與鄉村女,在種種誤會錯摸後,終由怨家變成襯家的故事。故事內容有趣而豐富,除了男女愛情之外,還可以看到當時社


Python's extra-clever function parameters

I'm not sure where I ran across this, but until recently I wasn't awarethat you could pre-explode lists and tuples when you declared whatparameters a function takes. That sounds stilted, so I'll give anexample:

def foo(a, (b, c, d)):  print a, b, c, d

This is slightly more compact than the equivalent:

def bar(a, tmp):  b, c, d = tmp  print a, b,

刻度

如此潰爛的生日,以前也試過嗎——其實我已經不記得了。幾天前的事都已像乾澀的粉刷抹過,一片迷糊,而刺鼻。 我什麼都不記得了。

我拒絕了母親和學生的約會,把自己鎖在斗室裡。收到認識的人的電話、很久沒見的朋友的

Weekly spam summary on February 25th, 2006

Here's how Hotmail stacks up this week:

  • 4 messages accepted; unfortunately, one of them was definitely spamand at least two more probably were.
  • 21 messages rejected because they came from non-Hotmail emailaddresses.
  • 49 messages sent to our spamtraps.
  • 4 messages refused because their sender addresses had already hitour spamtraps.
  • 6 messages refused due to their origin IP address, all for beingin the SBL ; four from SBL17935 ,one from SBL27471 ,

The hassle of email (as compared to RSS)

In my recent 'give me RSS feeds' entry I wrote in passing '[...] these daysemail is just too much of a hassle'. Which it is. Let me illustrate how.

To subscribe to new mailing lists these days I need to:

  1. figure out how to subscribe
  2. make up a new email address to give the list
  3. go through a multi-stage subscription dance
  4. make sure our antispam filters won't eat the list messages
  5. adjust my filters to put the messages somewhere distinct
  6. remember to check

如同沒有,時間的刻度

其實算挺糟的:我完全無法寫工作上的東西,只能筆戰。一旦有要靜下心來做的事,就像決堤一樣癱軟下來。 我不知我怎麼可能寫完論文。

每當時日過去,我覺得自己想要扭頭細數人生,就以這詩來抵擋。每一句都打擊我的心臟