1 = 0
Understanding the iSCSI protocol for performance tuning
We'd like to improve the performance of our iSCSI SAN (who doesn't, really?). iSCSI has abunch of tuning parameters with names like 'InitialR2T', but in orderto sensibly touch those you need at least enough knowledge of the iSCSIprotocol to get yourself into trouble. So I have been digging into iSCSIand thus into SCSI, and now I feel like writing down what I've learnedand worked out before it all falls out of my head again.
(You
My early impressions of the Spring 2011 anime season
Another season brings another set of snapshots, just like last time , except that this has been extended and slow enoughthat this a lot more than first episodes by now.
Shows I've seen, more or less in the order seen:
- Dog Days : It's a refreshing change when the summoned hero is bothcompetent and enthusiastic about his new situation. Apart from that,this is lightweight but cheerful and fun. Honestly, there's a lot tobe said for that.
- Sengoku Otome Momoiro Paradox :
論龍友
很精警的問題,因為我們對自己
Eternity and a Day
On Writing Documentation
I've been slowly reading through "Coders at Work," an excellent book in which Peter Siebel interviews many different programmers on their work and craft, and I hit a great little snippet of advice from Peter Norvig:
"The overall design of what's going to do what, that's really important to lay out first. It's got to be something that everybody understands and it's also got to be the right choice."
Basically, before you start doing some huge project, have
林忌的神奇數字
How CPython implements __slots__ (part 2): access
In the first part I covered how the __slots__ instance attributes were stored (in an ad-hoc array of pointers thatis glued on the end of instance objects), but that's only half of thepuzzle. The other half is letting people access them, and that's whatthis entry is about.
As it happens, it's reasonably common in CPython for C-level types towant to give people Python-level access to fields in C structures,common enough that