* Comments on Writeback cacheing with HSZ controller? @ 1998-02-11 5:00 Malcolm Dunnett 1998-02-19 5:00 ` fairfield 0 siblings, 1 reply; 4+ messages in thread From: Malcolm Dunnett @ 1998-02-11 5:00 UTC (permalink / raw) I have a Storageworks Raid array 310 ( HSZ-20 ) system. The system comes with the ability to use writeback cacheing. When this is enabled for a unit ( a partition of a raid 3/5 set ) a warning is printed on the console about using this feature with raid sets, and to see the manual for further information. I've looked through the manual and can't find any details about the pitfalls of doing this. What are your thoughts about using writeback cacheing in this setup. From a performance viewpoint the benefits are tremendous, but I'm not clear on how much danger the option presents - eg if there is a failure ( power or controller ) will only the files currently being written be affected or will the whole partition or raidset be damaged? -- ============================================================================= Malcolm Dunnett Malaspina University-College Email: dunnett@mala.bc.ca Computer Services Nanaimo, B.C. CANADA V9R 5S5 Tel: (250)755-8738 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Comments on Writeback cacheing with HSZ controller? 1998-02-11 5:00 Comments on Writeback cacheing with HSZ controller? Malcolm Dunnett @ 1998-02-19 5:00 ` fairfield 1998-02-20 5:00 ` Rob Young 0 siblings, 1 reply; 4+ messages in thread From: fairfield @ 1998-02-19 5:00 UTC (permalink / raw) In article <wMqdig0nxFQH@malvm1.mala.bc.ca>, dunnett@mala.bc.ca (Malcolm Dunnett) writes: > > I have a Storageworks Raid array 310 ( HSZ-20 ) system. > > The system comes with the ability to use writeback cacheing. When > this is enabled for a unit ( a partition of a raid 3/5 set ) a warning is > printed on the console about using this feature with raid sets, and to > see the manual for further information. I've looked through the manual > and can't find any details about the pitfalls of doing this. What is the specific wanring message? From my experience (with HSJ's), I'd expect a warning if you _didn't_ enable write-back caching. > What are your thoughts about using writeback cacheing in this > setup. From a performance viewpoint the benefits are tremendous, but > I'm not clear on how much danger the option presents - eg if there is > a failure ( power or controller ) will only the files currently being > written be affected or will the whole partition or raidset be damaged? Having read the documentation for our HSJ-50's fairly thoroughly, but unfortunately not recently, I seem to recall that write-back cache is turned on by _default_ for mirror sets and RAID sets. This is not only a performance issue, it's a data-integrity issue given that you want writes to complete to _all_ dataset members in the event of a power failure, etc. You must, of course, have battery backup (is that _optional_ on the HSZ-20?). Once the controllers reboot/power-up/whatever, any previously unwritten cached data (in the battery-backed writeback cache) is written to the target devices (unless explicitly overridden). The only warning I recall is that the HSx's will _not_ make a mirror set or RAID set available (serve it) after a controller reboot _if_ the battery(s) indicates low power or low charge. Once the battery(s) are sufficiently charged, the datasets will be served. Perhaps this is the warning you saw? -Ken -- Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX) Stanford, CA 94309 | Voice: 650-926-2924 FAX: 650-926-3515 ------------------------------------------------------------------------- These opinions are mine, not SLAC's, Stanford's, nor the DOE's... ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Comments on Writeback cacheing with HSZ controller? 1998-02-19 5:00 ` fairfield @ 1998-02-20 5:00 ` Rob Young 1998-02-23 5:00 ` fairfield 0 siblings, 1 reply; 4+ messages in thread From: Rob Young @ 1998-02-20 5:00 UTC (permalink / raw) In article <1998Feb19.181120.1@sldb4.slac.stanford.edu>, fairfield@sldb4.slac.stanford.edu writes: > In article <wMqdig0nxFQH@malvm1.mala.bc.ca>, > dunnett@mala.bc.ca (Malcolm Dunnett) writes: >> >> I have a Storageworks Raid array 310 ( HSZ-20 ) system. >> >> The system comes with the ability to use writeback cacheing. When >> this is enabled for a unit ( a partition of a raid 3/5 set ) a warning is >> printed on the console about using this feature with raid sets, and to >> see the manual for further information. I've looked through the manual >> and can't find any details about the pitfalls of doing this. The warning steers you to the documentation to enlighten you about the pitfalls of write-back caching. Without the manuals in front of me, there is a A policy and B policy the default policy being "safer". Essentially, if you lose power the batteries will maintain the cache for a set period of time. Off the top of my head I believe it is somewhere around 20 hours. Again, refer to the documentation. What are the pitfalls? What if you lost power for 2 days? Your writes are gone if you don't have emergency backup power, etc. > >> What are your thoughts about using writeback cacheing in this >> setup. From a performance viewpoint the benefits are tremendous, but >> I'm not clear on how much danger the option presents - eg if there is >> a failure ( power or controller ) will only the files currently being >> written be affected or will the whole partition or raidset be damaged? > > The only warning I recall is that the HSx's will _not_ make a > mirror set or RAID set available (serve it) after a controller > reboot _if_ the battery(s) indicates low power or low charge. Once > the battery(s) are sufficiently charged, the datasets will be > served. Perhaps this is the warning you saw? > Just to follow-up Ken, find the sections on cache policy and read up on them. Rob ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Comments on Writeback cacheing with HSZ controller? 1998-02-20 5:00 ` Rob Young @ 1998-02-23 5:00 ` fairfield 0 siblings, 0 replies; 4+ messages in thread From: fairfield @ 1998-02-23 5:00 UTC (permalink / raw) In article <1998Feb19.231529.1@eisner>, young_r@eisner.decus.org (Rob Young) writes: > In article <1998Feb19.181120.1@sldb4.slac.stanford.edu>, fairfield@sldb4.slac.stanford.edu writes: >> In article <wMqdig0nxFQH@malvm1.mala.bc.ca>, >> dunnett@mala.bc.ca (Malcolm Dunnett) writes: >>> >>> I have a Storageworks Raid array 310 ( HSZ-20 ) system. [...] >>> What are your thoughts about using writeback cacheing in this >>> setup. From a performance viewpoint the benefits are tremendous, but >>> I'm not clear on how much danger the option presents - eg if there is >>> a failure ( power or controller ) will only the files currently being >>> written be affected or will the whole partition or raidset be damaged? >> >> The only warning I recall is that the HSx's will _not_ make a >> mirror set or RAID set available (serve it) after a controller >> reboot _if_ the battery(s) indicates low power or low charge. Once >> the battery(s) are sufficiently charged, the datasets will be >> served. Perhaps this is the warning you saw? >> > Just to follow-up Ken, find the sections on cache policy and > read up on them. I just did. And your point is...? FWIW, the _default_ (in the presence of low battery charge) is, "CACHE_POLICY=A makes inoperative all RAIDsets and mirrorsets until the battery has been recharged." Which is pretty close to what I said above (prior to rereading the manuals). If your point is that, "CACHE_POLICY=B allows write-through access to all RAIDsets and mirrorsets for [up to] 10 hours," while batteries recharge, why didn't you just say so? BTW, other parts of this section (I'm looking at the HSOF V5.1 CLI Reference Manual under SET THIS_CONTROLLER) make it clear that WRITEBACK_CACHE is used for RAIDsets and mirrorsets _regardless_ of the setting of [NO]WRITEBACK_CACHE (see ADD UNIT), and further, that RAIDsets and mirrorsets will be "made inoperative" if the batteries are "bad or missing". It seems that Malcolm is going to get writeback caching in _any_ case, depending on the version of HSOF running in the Raid Array 310, so I'd still be interested in the text of the warning message. -Ken -- Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX) Stanford, CA 94309 | Voice: 650-926-2924 FAX: 650-926-3515 ------------------------------------------------------------------------- These opinions are mine, not SLAC's, Stanford's, nor the DOE's... ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-02-23 5:00 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-02-11 5:00 Comments on Writeback cacheing with HSZ controller? Malcolm Dunnett 1998-02-19 5:00 ` fairfield 1998-02-20 5:00 ` Rob Young 1998-02-23 5:00 ` fairfield
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox