freebsd-questions Digest, Vol 284, Issue 11

CyberLeo Kitsana cyberleo at cyberleo.net
Sun Nov 15 23:30:51 UTC 2009


James Phillips wrote:
>> Date: Sat, 14 Nov 2009 20:29:59 -0600
>> From: CyberLeo Kitsana <cyberleo at cyberleo.net>
>> Subject: [FreeBSD Questions] Filesystem image as root
>>
>> The single IDE connector is accessible via the legacy ISA
>> ports, and is
>> thus limited to PIO modes (about 1.6MB/sec max, even with
>> an actual hard
>> drive instead of a CF card).
> 
> You are off by an order of magnitude (base 2 or 10):
> Pio mode 0 is ~3.3 MB/s
> Pio mode 4 is ~16.7 MB/s
> 
> http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html
> 
> You can probably set PIO mode 4 for with:
> # atacontrol mode ad0 PIO4

If only that were true in this case.

(85eef1f3)[root at ss4200 ~]# atacontrol mode ad0 PIO4
current mode = PIO2
(85eef1f3)[root at ss4200 ~]# atacontrol mode ad0 PIO4
current mode = PIO2
(85eef1f3)[root at ss4200 ~]# dd if=/dev/ad0 of=/dev/null bs=4096 count=4096
4096+0 records in
4096+0 records out
16777216 bytes transferred in 10.111748 secs (1659181 bytes/sec)

Nothing I've tried seems to boost the throughput, hence the desire to
use a compressed cached filesystem image.

Thanks for the suggestions, though!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/


More information about the freebsd-questions mailing list