ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrei Bulava <abulava@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] ide-scsi vs ide-cd
Date: Mon, 27 Dec 2004 10:16:16 +0200
Message-ID: <41CFC4D0.90308@altlinux.ru> (raw)
In-Reply-To: <20041227073131.GJ22058@wrars-comp.wrarsdomain>

Andrey Rahmatullin пишет:
> On Sun, Dec 26, 2004 at 10:16:55PM +0300, Aleksey Birukov wrote:

<skip/>

>>случаи когда эмуляция все-таки нужна?
> 
> Она все равно не работает.

Могу рассказать за ядро 2.4, где эмуляция scsi (пока) работает, и 
случай, когда эмуляция scsi сработала лучше, чем ide-cd.

Привод CD-ROM TEAC, 40x-скоростной (компьютер дома, и модель вспомнить 
не могу) на ALM 2.2 отлично работал через ide-cd, но после перехода на 
ALM 2.4 мне пришлось настроить его работать через эмуляцию scsi.

Иначе, при работе как ide-cd, после eject -t /dev/cdrom устройство с 
вероятностью в 100% переключается ядром из режима DMA в режим PIO из-за 
таймаута (по сведениям dmesg). "Прелести" чтения компакт-дисков в режиме 
PIO - сомнительны, в это время системой практически невозможно 
пользоваться, т.е. лаг между любыми действиями и реакцией на них порядка 
секунд. В режиме эмуляции scsi устройство работает, не вызывая таймаутов 
и переключения из DMA в PIO.

P.S. Если не пользоваться eject, то этот TEAC можно оставить работать и 
через ide-cd, но мне религия не позволяет лишний раз тянуться к кнопке 
на приводе CD-ROM ;-)

-- 
// AB1002-UANIC


      reply	other threads:[~2004-12-27  8:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-26 19:16 Aleksey Birukov
2004-12-27  7:31 ` Andrey Rahmatullin
2004-12-27  8:16   ` Andrei Bulava [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41CFC4D0.90308@altlinux.ru \
    --to=abulava@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git