- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MWC Questions.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 08:42 AM
08-28-2003 08:42 AM
I have two questions in Mirror write Cache and Mirror Consistency.
1. What are they and why we should have them
off.(Advantages and disadvantages)
2. Are they on by default? If so how to turn them off.
The environment is N-Class with MirrorDisk/UX.
Brian.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 08:51 AM
08-28-2003 08:51 AM
Re: MWC Questions.
Looks like your question from a long time ago?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 08:53 AM
08-28-2003 08:53 AM
Re: MWC Questions.
and recovery will quciker in the event of crash if you put MWC on.
It's kind of trade between performance and recovery process.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 09:00 AM
08-28-2003 09:00 AM
Re: MWC Questions.
I'll quote from me course notes:
"Tracking of pending I/O is done in a cache called Mirrored Write Cache. The MWC holds the status of write I/Os to relatively large areas of a logical volume called Logical Track Groups. When a write I/O is scheduled it is resolved onto the LTG it affects. This entry in the cache is marked dirty. The I/O is scheduled, and when it completes the I/O is marked clean.
When a write I/O is made the LVM driver looks in the MWC. If an I/O to this LTG is already in progress, then the new I/O is scheduled. The MWC already shows dirty for this LTG. If there is not an entry in the MWC for this LTG then we need to mark it dirty and schedule a 'high priority' write of the MWC to the disk, where it becomes a Mirror Consistency Record (MCCR). Once this is done the temporary blocked write I/O can be scheduled."
The idea behind the default "on" settings for both is to allow for fast recovery on a system crash at the expense of additional runtime on writes. You can turn MWC off to eliminate the overhead but recovery from a crash will be slow. You can also turn both off but then the application will have to ensure it's own recovery.
Hope this helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 09:02 AM
08-28-2003 09:02 AM
Re: MWC Questions.
;^)
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 09:02 AM
08-28-2003 09:02 AM
Re: MWC Questions.
2) They both are ON default. You can see it from lvdisplay command. Check for "Consistency recovery" part. To change it use lvchange command:
# man lvchange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 09:29 AM
08-28-2003 09:29 AM
Re: MWC Questions.
Thanks for the answers. So if I have dumps configured to the same place as primary
swap AND I have primary swap mirrored then what would be the situation?
Thanks
Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 09:36 AM
08-28-2003 09:36 AM
Re: MWC Questions.
Technical Knowledge Base document #KBAN00000180 offers some good insights into performance, the mirror write cache and mirror consistency.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 09:39 AM
08-28-2003 09:39 AM
Re: MWC Questions.
The recommended policy in that situation is to set both options to OFF or disabled. When the primary swap and dump are on the same area, you need to make sure that both MWC and MC are OFF at boot time to avoid loss of your dump!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2003 10:24 AM
08-28-2003 10:24 AM
Solutiondisable MWC and MCR for your primary swap space. When your system takes a dump, LVM is not active and doadump (the dump routine) is given pointers to where to copy the dump to. Upon reboot, MCR will tell LVM to recover your
primary swap LV. Now, what would win? the dump or what used to be swap? Probably the old swap stuff. dump is gone. Turn off MCR. Better yet, make dump a separate LV.
Hope this helps.
Giri Sekar.