Apache a sendfile

Pavel Kankovsky peak na argo.troja.mff.cuni.cz
Pátek Červen 1 22:00:31 CEST 2007


On Fri, 1 Jun 2007, Dalibor Straka wrote:

> 		wr = write(fhost,buf, sizeof (buf));
> 		printf("Write: %d KiB, (w is %d)\n", sizeof (int)*(counter+=wr), wr);
> [...] dosel write k hodnote "Write: 475136 Byte".

Určitě to byl tento program?! A proč je tam to násobení sizeof(int)?

BTW: co ukazoval netstat ve sloupcích Recv-Q a Send-Q?

--Pavel Kankovsky aka Peak  [ Boycott Microsoft--http://www.vcnet.com/bms ]
"Resistance is futile. Open your source code and prepare for assimilation."




Další informace o konferenci Linux