Home > Archives > 2006-11
2006-11
Async IO on lighttpd
- 2006-11-13 (Mon)
- Unix

lighty’s lifeによると、次期lighttpdはaioを使って80%ほどスループットが向上したようである。
The idea is:
1. create a buffer in /dev/shm and mmap() it
2. start a async read() from the source file to the mmap() buffer
3. wait until the data is ready
4. use sendfile() to send the data from /dev/shm to the network socket
Important for the performance: the data is never copied into user space. We only move it from one side of the kernel to the other side.
賢い。確かに早くなるのは分かるんだけど、エラー処理の部分が気になるなぁ。コード見てみる。しかしまずlibaio.hというのが何処にあるか分からんぞ…。このライブラリはどこから来ておるのだ…。
- Comments: 0
- Trackbacks: 0
CPU実験(15)
- 2006-11-11 (Sat)
- CPU実験


動いた!まえださんにPS3の発売日に間に合わせる!と宣言してたら同じ日になってしまった。丁度1ヶ月ー。その後nyaasanを加えてレイトレ動作飲み。深夜辺りの記憶が無い。色々ばぐっていたような気がする。ご迷惑をかけた皆様、ごめんなさい(笑)
参照:
- naoki
- yama
- ush
- nuはまだ満足していないらしい(笑)
- Comments: 2
- Trackbacks: 0
CPU実験(13)
- 2006-11-08 (Wed)
- CPU実験

USB制御回路にバグが有る。
sldファイルを正常に送れない模様。
黒画像は出たけど、これはちょっとはまりそう。
- Comments: 2
- Trackbacks: 0
CPU実験(12)
- 2006-11-07 (Tue)
- CPU実験

今日中に動くかと思われたが、制御系のバグがまだ有る模様。
あと2,3個バグを取れば絶対動くはず。
あと fadd を1 clockで返せるかもしれないアイデアを思いついたので、レイトレが動いたら試してみよう。
- Comments: 0
- Trackbacks: 0
Home > Archives > 2006-11
-
- August 2010
- May 2010
- February 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006


