public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [drivers][sata-promise] TX4 has the cache enabled, it should be disabled
@ 2004-02-17  9:13 MALET JL
  2004-02-19 23:36 ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: MALET JL @ 2004-02-17  9:13 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 872 bytes --]

hello,
I've a TX4 150 card and encounter the following effects :
->"shorts" files (<1Mo) are copied at 35Mo/s av
->"long" files (>1Mo) are "burst" copied (ie a big "burst" then hangs, 
burst, hangs) this has the following effects :
1) average fall back to 12Mo/s
2) systems "hangs" (mouse, keyboard behave like a 100% used cpu) but cpu 
usage is still slow
3) mplayer reset the streams every second (cpu usage still low)

this is 1-2 week that I have this issue, but can't find where it comes 
from...... yesterday by chance when I loaded sata-promise I noticed 
"write through" this remembered be some issue I go when I first had the 
sata board, making a short research made me remember :

DISABLE THE BOARD CACHE! on windows this is the same when cache is 
enabled : performance drops, system interactive is awfull....

this should be made an option in module

regards

[-- Attachment #2: Type: application/pgp-signature, Size: 250 bytes --]

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

* Re: [drivers][sata-promise] TX4 has the cache enabled, it should be disabled
  2004-02-17  9:13 [drivers][sata-promise] TX4 has the cache enabled, it should be disabled MALET JL
@ 2004-02-19 23:36 ` Jeff Garzik
  2004-02-20 13:47   ` MALET JL
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2004-02-19 23:36 UTC (permalink / raw)
  To: MALET JL; +Cc: linux-kernel

MALET JL wrote:
> hello,
> I've a TX4 150 card and encounter the following effects :
> ->"shorts" files (<1Mo) are copied at 35Mo/s av
> ->"long" files (>1Mo) are "burst" copied (ie a big "burst" then hangs, 
> burst, hangs) this has the following effects :
> 1) average fall back to 12Mo/s
> 2) systems "hangs" (mouse, keyboard behave like a 100% used cpu) but cpu 
> usage is still slow
> 3) mplayer reset the streams every second (cpu usage still low)
> 
> this is 1-2 week that I have this issue, but can't find where it comes 
> from...... yesterday by chance when I loaded sata-promise I noticed 
> "write through" this remembered be some issue I go when I first had the 
> sata board, making a short research made me remember :
> 
> DISABLE THE BOARD CACHE! on windows this is the same when cache is 
> enabled : performance drops, system interactive is awfull....


There is no on-board cache on the TX4.

Further, you are thinking about the SCSI layer's caching support, i.e. 
basically whether the driver supports SYNCHRONIZE CACHE (aka 
flush-cache) scsi command.

	Jeff




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

* Re: [drivers][sata-promise] TX4 has the cache enabled, it should be disabled
  2004-02-19 23:36 ` Jeff Garzik
@ 2004-02-20 13:47   ` MALET JL
  2004-02-20 14:32     ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: MALET JL @ 2004-02-20 13:47 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]

Jeff Garzik a écrit :

> MALET JL wrote:
>
>> hello,
>> I've a TX4 150 card and encounter the following effects :
>> ->"shorts" files (<1Mo) are copied at 35Mo/s av
>> ->"long" files (>1Mo) are "burst" copied (ie a big "burst" then 
>> hangs, burst, hangs) this has the following effects :
>> 1) average fall back to 12Mo/s
>> 2) systems "hangs" (mouse, keyboard behave like a 100% used cpu) but 
>> cpu usage is still slow
>> 3) mplayer reset the streams every second (cpu usage still low)
>>
>> this is 1-2 week that I have this issue, but can't find where it 
>> comes from...... yesterday by chance when I loaded sata-promise I 
>> noticed "write through" this remembered be some issue I go when I 
>> first had the sata board, making a short research made me remember :
>>
>> DISABLE THE BOARD CACHE! on windows this is the same when cache is 
>> enabled : performance drops, system interactive is awfull....
>
>
>
> There is no on-board cache on the TX4.
>
> Further, you are thinking about the SCSI layer's caching support, i.e. 
> basically whether the driver supports SYNCHRONIZE CACHE (aka 
> flush-cache) scsi command.
>
>     Jeff
>
I relooked into manual (see promise site support, user manual)  and 
there are two parameters for TX4 : write through/ write back , cache on 
cache off..... I don't know which cache is it about but I'll redo some 
test (argh you oblige me to reboot to windows! did you thought of my 
uptime! LOL )this evening but as far as I remember the optimal values 
where write through /no cache.....
on windows with cache on their was small hangs too....
I noticed then that a prempible kernel is not a good idea in my case : 
lot more "small hangs"......
JLM



[-- Attachment #2: Type: application/pgp-signature, Size: 250 bytes --]

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

* Re: [drivers][sata-promise] TX4 has the cache enabled, it should be disabled
  2004-02-20 13:47   ` MALET JL
@ 2004-02-20 14:32     ` Jeff Garzik
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2004-02-20 14:32 UTC (permalink / raw)
  To: MALET JL; +Cc: linux-kernel

MALET JL wrote:
> I relooked into manual (see promise site support, user manual)  and 
> there are two parameters for TX4 : write through/ write back , cache on 
> cache off..... I don't know which cache is it about but I'll redo some 
> test (argh you oblige me to reboot to windows! did you thought of my 
> uptime! LOL )this evening but as far as I remember the optimal values 
> where write through /no cache.....
> on windows with cache on their was small hangs too....
> I noticed then that a prempible kernel is not a good idea in my case : 
> lot more "small hangs"......


This would be the drive's cache, not the card's cache.

	Jeff




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

end of thread, other threads:[~2004-02-20 14:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-17  9:13 [drivers][sata-promise] TX4 has the cache enabled, it should be disabled MALET JL
2004-02-19 23:36 ` Jeff Garzik
2004-02-20 13:47   ` MALET JL
2004-02-20 14:32     ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox