could someone explain me.
I'm very confusing these concepts. could someone explain me clearly.
when can I use those?
thank you for your time.
The usual definitions are something like...Quote:>HI, all.
> could someone explain me.
- accepts single characters, one at a time.Quote:> character device
- accepts blocks of data,Quote:> block device
- accepts data without editing or cachingQuote:> raw device
Raw is good for hardware throughput, but not for process throughputQuote:
> I'm very confusing these concepts. could someone explain me clearly.
> when can I use those?
Block is good for hardware that works in blocks (primarily disk
Character is for most everything else.
Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank Financial GroupQuote:>thank you for your time.
(Opinions expressed are my own, not my employer's.)
I tested block i/o speed. when i tested file i/o speed,
i/o speed was 17mb/sec.
At this point file size was 3.1Gb, and command was "time dd
if=/linux_tag/linux.dd of=/linux_tag/linux_file.dd bs=8192k".
but when i tested block i/o speed, i/o speed was about 3mb/sec.
command was "time dd if=/dev/sdd1 of=/linux_tag/linux1.dd bs=8192k"
last i binded block device to raw device. and i test raw device i/o
command was "time dd if=/dev/raw/raw1 of=/linux_tag/linux_raw.dd
i/o speed was about 10Mb/sec.
why i/o speed was different between block device and raw device?
Please anyone explain to me!!!!!