* AdvFS write caching too much - how do I fix it?
@ 2001-09-05 15:03 George Chalissery
2001-09-06 13:28 ` Bob Harris
0 siblings, 1 reply; 3+ messages in thread
From: George Chalissery @ 2001-09-05 15:03 UTC (permalink / raw)
I have an application running under Tru64UNIX version 5.1 that has long
(several GB) reads and writes. AdvFS caches a huge (several hundred MB)
amount of writes and when it finally needs to write the blocks out to disk,
the application blocks waiting for the cached writes to complete. The cache
flush takes a while to complete as the disk has a lot of writing to do.
What is the best way to reduce the amount that is cached so that the disk
does not sit idle while the cache is being filled and then go all out
writing the large amount of cached data which the user process blocks?
Reading the System Configuration and Tuning guide seems to leave me with
the understanding that reducing the smoothsync_age attribute would be the
most attractive option.
Cache hits are very unlikely as the cache cannot be large enough to hold
a complete write sequence that may be read again in a following processing
step. I have 2GB of real memory on this system.
TIA for any advice,
George.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: AdvFS write caching too much - how do I fix it?
2001-09-05 15:03 AdvFS write caching too much - how do I fix it? George Chalissery
@ 2001-09-06 13:28 ` Bob Harris
2001-09-10 4:28 ` BL Venkatesh
0 siblings, 1 reply; 3+ messages in thread
From: Bob Harris @ 2001-09-06 13:28 UTC (permalink / raw)
[[ This message was both posted and mailed: see
the "To," "Cc," and "Newsgroups" headers for details. ]]
In article <n4rl7.243787$rV6.11363402@e420r-atl2.usenetserver.com>,
George Chalissery <chalissery@hotmail.com> wrote:
X I have an application running under Tru64UNIX version 5.1 that has long
X (several GB) reads and writes. AdvFS caches a huge (several hundred MB)
X amount of writes and when it finally needs to write the blocks out to disk,
X the application blocks waiting for the cached writes to complete. The cache
X flush takes a while to complete as the disk has a lot of writing to do.
X
X What is the best way to reduce the amount that is cached so that the disk
X does not sit idle while the cache is being filled and then go all out
X writing the large amount of cached data which the user process blocks?
X
X Reading the System Configuration and Tuning guide seems to leave me with
X the understanding that reducing the smoothsync_age attribute would be the
X most attractive option.
X
X Cache hits are very unlikely as the cache cannot be large enough to hold
X a complete write sequence that may be read again in a following processing
X step. I have 2GB of real memory on this system.
Get the most recent patches for v5.1.
In v5.1, AdvFS was more fully integrated with the UBC and the private
AdvFS cache was elimiated. However, this had some unexpected side
effects on UBC flushing. The most recent v5.1 patches address this
issue.
Bob Harris
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: AdvFS write caching too much - how do I fix it?
2001-09-06 13:28 ` Bob Harris
@ 2001-09-10 4:28 ` BL Venkatesh
0 siblings, 0 replies; 3+ messages in thread
From: BL Venkatesh @ 2001-09-10 4:28 UTC (permalink / raw)
Hi,
Have u tried the 'chvol' command?...it allows u to change the read/write
attributes of a volume.
-blv
> X I have an application running under Tru64UNIX version 5.1 that has long
> X (several GB) reads and writes. AdvFS caches a huge (several hundred MB)
> X amount of writes and when it finally needs to write the blocks out to disk,
> X the application blocks waiting for the cached writes to complete. The cache
> X flush takes a while to complete as the disk has a lot of writing to do.
> X
> X What is the best way to reduce the amount that is cached so that the disk
> X does not sit idle while the cache is being filled and then go all out
> X writing the large amount of cached data which the user process blocks?
> X
> X Reading the System Configuration and Tuning guide seems to leave me with
> X the understanding that reducing the smoothsync_age attribute would be the
> X most attractive option.
> X
> X Cache hits are very unlikely as the cache cannot be large enough to hold
> X a complete write sequence that may be read again in a following processing
> X step. I have 2GB of real memory on this system.
>
> Get the most recent patches for v5.1.
>
> In v5.1, AdvFS was more fully integrated with the UBC and the private
> AdvFS cache was elimiated. However, this had some unexpected side
> effects on UBC flushing. The most recent v5.1 patches address this
> issue.
>
> Bob Harris
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-10 4:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-05 15:03 AdvFS write caching too much - how do I fix it? George Chalissery
2001-09-06 13:28 ` Bob Harris
2001-09-10 4:28 ` BL Venkatesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox