linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/ide/Kconfig IDEPCI_SHARE_IRQ and IDEDISK_MULTI_MODE
@ 2007-10-21  6:46 Matti Linnanvuori
  2007-10-22 13:23 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Matti Linnanvuori @ 2007-10-21  6:46 UTC (permalink / raw)
  To: bzolnier; +Cc: linux-ide

From: Matti Linnanvuori <mattilinnanvuori@yahoo.com>

Correct IDEPCI_SHARE_IRQ description to keeping interrupts enabled
when calling the PCI IDE action handler.
Add IDEPCI_SHARE_IRQ and IDEDISK_MULTI_MODE help text from hdparm
manual page.

Signed-off-by: Matti Linnanvuori <mattilinnanvuori@yahoo.com>
---

--- a/drivers/ide/Kconfig	2007-10-21 08:53:11.826349500 +0300
+++ b/drivers/ide/Kconfig	2007-10-21 09:21:48.295590000 +0300
@@ -154,6 +154,18 @@ config BLK_DEV_IDEDISK
 config IDEDISK_MULTI_MODE
 	bool "Use multi-mode by default"
 	help
+	  Multiple sector mode is a feature of most modern IDE hard
+ 	  drives, permitting the transfer of multiple sectors per I/O
+	  interrupt, rather than the usual one sector per interrupt.
+	  When this feature is enabled, it typically reduces operating
+	  system overhead for disk I/O by 30-50%. On many systems, it
+	  also provides increased data throughput of anywhere from 5%
+	  to 50%. Some drives, however (most notably the WD Caviar
+	  series), seem to run slower with multiple mode enabled. Some
+	  drives claim to support multiple mode, but lose data at some
+	  settings. Under rare circumstances, such failures can result
+	  in massive filesystem corruption.
+
 	  If you get this error, try to say Y here:
 
 	  hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
@@ -367,11 +379,16 @@ config BLK_DEV_IDEPCI
 	bool
 
 config IDEPCI_SHARE_IRQ
-	bool "Sharing PCI IDE interrupts support"
+	bool "Keeping interrupts enabled when calling the PCI IDE action handler support"
 	depends on BLK_DEV_IDEPCI
 	help
-	  Some ATA/IDE chipsets have hardware support which allows for
-	  sharing a single IRQ with other cards. To enable support for
+	  A setting of Y permits the driver to unmask other interrupts
+	  during processing of a disk interrupt, which greatly improves
+ 	  Linux's responsiveness and eliminates "serial port overrun"
+	  errors. Use this feature with caution: some drive/controller
+	  combinations do not tolerate the increased I/O latencies
+	  possible when this feature is enabled, resulting in massive
+	  filesystem corruption. To enable support for
 	  this in the ATA/IDE driver, say Y here.
 
 	  It is safe to say Y to this question, in most cases.




        __________________________________  Ihr erstes Baby? Holen Sie sich Tipps von anderen Eltern.  www.yahoo.de/clever

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

* Re: [PATCH] drivers/ide/Kconfig IDEPCI_SHARE_IRQ and IDEDISK_MULTI_MODE
  2007-10-21  6:46 [PATCH] drivers/ide/Kconfig IDEPCI_SHARE_IRQ and IDEDISK_MULTI_MODE Matti Linnanvuori
@ 2007-10-22 13:23 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2007-10-22 13:23 UTC (permalink / raw)
  To: Matti Linnanvuori; +Cc: bzolnier, linux-ide

Matti Linnanvuori wrote:

> Correct IDEPCI_SHARE_IRQ description to keeping interrupts enabled
> when calling the PCI IDE action handler.
> Add IDEPCI_SHARE_IRQ and IDEDISK_MULTI_MODE help text from hdparm
> manual page.

> Signed-off-by: Matti Linnanvuori <mattilinnanvuori@yahoo.com>

    NAK.

> @@ -154,6 +154,18 @@ config BLK_DEV_IDEDISK
>  config IDEDISK_MULTI_MODE
>  	bool "Use multi-mode by default"
>  	help
> +	  Multiple sector mode is a feature of most modern IDE hard
> + 	  drives, permitting the transfer of multiple sectors per I/O
> +	  interrupt, rather than the usual one sector per interrupt.
> +	  When this feature is enabled, it typically reduces operating
> +	  system overhead for disk I/O by 30-50%. On many systems, it
> +	  also provides increased data throughput of anywhere from 5%
> +	  to 50%. Some drives, however (most notably the WD Caviar
> +	  series), seem to run slower with multiple mode enabled. Some
> +	  drives claim to support multiple mode, but lose data at some
> +	  settings. Under rare circumstances, such failures can result

    The speed increase data provided here are largely useless, since multiple 
mode only applies to PIO transfers. At least, the comment should make this 
clear...

> +	  in massive filesystem corruption.
> +
>  	  If you get this error, try to say Y here:
>  
>  	  hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
> @@ -367,11 +379,16 @@ config BLK_DEV_IDEPCI
>  	bool
>  
>  config IDEPCI_SHARE_IRQ
> -	bool "Sharing PCI IDE interrupts support"
> +	bool "Keeping interrupts enabled when calling the PCI IDE action handler support"

    Keeping IRQ enabled is only a side effect of IRQ sharing...

>  	depends on BLK_DEV_IDEPCI
>  	help
> -	  Some ATA/IDE chipsets have hardware support which allows for
> -	  sharing a single IRQ with other cards. To enable support for
> +	  A setting of Y permits the driver to unmask other interrupts
> +	  during processing of a disk interrupt, which greatly improves
> + 	  Linux's responsiveness and eliminates "serial port overrun"
> +	  errors. Use this feature with caution: some drive/controller
> +	  combinations do not tolerate the increased I/O latencies
> +	  possible when this feature is enabled, resulting in massive
> +	  filesystem corruption. To enable support for
>  	  this in the ATA/IDE driver, say Y here.

    Comments do not really describe the IRQ sharing option anymore.

>  	  It is safe to say Y to this question, in most cases.

MBR, Sergei

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

end of thread, other threads:[~2007-10-22 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-21  6:46 [PATCH] drivers/ide/Kconfig IDEPCI_SHARE_IRQ and IDEDISK_MULTI_MODE Matti Linnanvuori
2007-10-22 13:23 ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).