noel@uokmax.UUCP (Bamf) (04/21/89)
Anyone that has extended experience with the amiga hardware know the optimum size of a buffer to write with? I am using the following: write(fd,buf,i); /* where i is returned from read(fd,buf,4096); */ So that for the most part, I am writing with 4096 byte blocks, but I get a few gronks every now and then. 4096 is however, one of the one's that gronks the least. I figure there is probably an internal buffer of some sort that if filled exactly might reduce gronking and searching to a minimum. No? Note: I am also assuming that write() is going to do this most efficently, next to direct trackdisk twiddling. Is this a valid assumption? (however, which, if anyone has some simple source on how to trackdisk write, that they want to send... feel free.) -- Bamf -- NEVER date a music major. At least not one that's named her clarinet "Thor" ----You want it should sing too?------| noel@uokmax | ngorelic@uokmax <Dis-Claimer, Dat-Claimer, to look at | uokmax!tavern!anyone 'em, you'd never know the diff...> | "Beam me up Scotty, we're outta beer"