Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* raw disk device
@ 1996-03-31  5:00 Steve Peltz
  1996-03-31  5:00 ` Steve Peltz
  1996-04-01  5:00 ` Ron Natalie
  0 siblings, 2 replies; 4+ messages in thread
From: Steve Peltz @ 1996-03-31  5:00 UTC (permalink / raw)


This may be a stupid question, but we haven't figured out the answer yet.

We're trying to use raw disk partitions, and are finding that writing to
the block device (e.g. re9e) is MUCH slower than writing to the character
device (rre9e). Now, I could understand that if they were unaligned access,
but if that's the answer, I've been unable to find the right alignment.
Specifically, I've used 320*7*64 bytes (8*35 512-byte sectors), I'm simply
opening the raw device r/w, and writing without doing any seeks. The 8*512
factor in there should handle any power of 2 block sizing up to 4K.

If I use the character device, I can get about 3800 sectors written
per second; I get less than 1/10th that doing it to the block device.
-- 
Steve Peltz
tricorn@uiuc.edu



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-04-01  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-31  5:00 raw disk device Steve Peltz
1996-03-31  5:00 ` Steve Peltz
1996-04-01  5:00 ` Ron Natalie
1996-04-01  5:00   ` Steve Peltz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox