devb-ide ...

Does dev-eide run io-blk with disk cache settings ?
How can I change amount of cache memory ?
Tried to change /etc/system/include/block , /etc/system/config/block
but there were no results.
sin reports me, that devb-eide takes about 12Mb of RAM ( total size 64Mb
)
(ps reports smth like:
devb-eide blk auto=partition cam uiet eide dma )
Can I turn off device autodetection? A.e. by setting my disk parameters
?

#swapctl -a/.swapfile -c -S 128m
#swapctl -a/.swapfile
says that /.swapfile cannot be open
it has:
rwxrw-r-- root root
permissions.

Dmitri Alexeyev wrote:

Does dev-eide run io-blk with disk cache settings ?

The default (in the absence of a “blk cache=” option)
is to use 15% of (total) RAM up to a limit of 10MB.

How can I change amount of cache memory ?

Specify a “blk cache=” option. You can give an
absolute number (with ‘k’ or ‘m’ suffix) or a ‘%’.
Refer to “use io-blk/so” for some more details.

Can I turn off device autodetection? A.e. by setting my
disk parameters?

Yes you can. Pass the device details to the “eide”
module, e.g. “eide ioport=0x1f0,irq=14” is the
standard primary interface; you can also use the
“slave” option to prevent scanning for a non-existent
slave device. If you have a supported chipset, you may
also want to specify “dma”. Custom tailoring of these
options for your hardware can dramatically improve boot
speed! Refer to “use devb-eide” for details.

By the way, this is how you do it for standard Neutrino;
I’ve never seen/used RTP, so I don’t know how you manage
to get these options into the command invocation … :frowning:

John Garvey wrote:

Dmitri Alexeyev wrote:

Does dev-eide run io-blk with disk cache settings ?

The default (in the absence of a “blk cache=” option)
is to use 15% of (total) RAM up to a limit of 10MB.

How can I change amount of cache memory ?

Specify a “blk cache=” option. You can give an
absolute number (with ‘k’ or ‘m’ suffix) or a ‘%’.
Refer to “use io-blk/so” for some more details.

Can I turn off device autodetection? A.e. by setting my
disk parameters?

Yes you can. Pass the device details to the “eide”
module, e.g. “eide ioport=0x1f0,irq=14” is the
standard primary interface; you can also use the
“slave” option to prevent scanning for a non-existent
slave device. If you have a supported chipset, you may
also want to specify “dma”. Custom tailoring of these
options for your hardware can dramatically improve boot
speed! Refer to “use devb-eide” for details.

By the way, this is how you do it for standard Neutrino;
I’ve never seen/used RTP, so I don’t know how you manage
to get these options into the command invocation … > :frowning:

Can you also tell us why does devb-eide has its own options for drive
geometry (aside from cam-disk options)? And which ones should be used?

  • igor

Thank you!
But I still have one question more - do I need to rebuild procnto ?
In rebuild script there are no parameters, in /etc/system/config/block
they are, but changing them gives nothing.
Maybe this is RtP specific ?

John Garvey wrote:

Dmitri Alexeyev wrote:

Does dev-eide run io-blk with disk cache settings ?

The default (in the absence of a “blk cache=” option)
is to use 15% of (total) RAM up to a limit of 10MB.

How can I change amount of cache memory ?

Specify a “blk cache=” option. You can give an
absolute number (with ‘k’ or ‘m’ suffix) or a ‘%’.
Refer to “use io-blk/so” for some more details.

Can I turn off device autodetection? A.e. by setting my
disk parameters?

Yes you can. Pass the device details to the “eide”
module, e.g. “eide ioport=0x1f0,irq=14” is the
standard primary interface; you can also use the
“slave” option to prevent scanning for a non-existent
slave device. If you have a supported chipset, you may
also want to specify “dma”. Custom tailoring of these
options for your hardware can dramatically improve boot
speed! Refer to “use devb-eide” for details.

By the way, this is how you do it for standard Neutrino;
I’ve never seen/used RTP, so I don’t know how you manage
to get these options into the command invocation … > :frowning: