On Wed, May 23, 2001 at 02:24:44PM -0700, Ian Lance Taylor wrote:
> "Denis A. Doroshenko" <d.doroshenko@omnitel.net> writes:
>
> Try writing more bytes in a single call to write(). Like, 100000
> bytes or something.
>
> You will only get a short return from write() if you write more than
> the disk block size. On modern file systems the disk block size can
> get fairly large.
the program i sent, had 800K blocks, but believe me, the first variant
has been using 1M writes. the result was the same...
--
Denis A. Doroshenko [GPRS/IN/WAP, VAS group engineer] .-. _|_ |
[Omnitel Ltd., T.Sevcenkos st. 25, Vilnius, Lithuania] | | _ _ _ .| _ |
[Phone: +370 9863486 E-mail: d.doroshenko@omnitel.net] |_|| | || |||(/_|_