[Q] zpool mirror; read from preferred vdev(s)


 
Thread Tools Search this Thread
Operating Systems Solaris [Q] zpool mirror; read from preferred vdev(s)
# 1  
Old 04-19-2013
Sun [Q] zpool mirror; read from preferred vdev(s)

Hallo,

Using a zpool mirror; is there a way to set something like a primary storage / preferred vdevs / read-first devices like it was in disksuite using "metaparam -r [roundrobin | geometric | first]" or the "vxvol rdpol [prefer | round | select | siteread]" to define a preferred plex in VxVM? Will ZFS always use round-robin?

In our example we want to use a brand-new fast storage with hot-data tiering (ssd-caching) mirrored/combined to an older/slower one... with round-robin we could assume that every second read will be slower?

Will the write acknowledgement be commited after both writes so we will have no advantage from the faster storage?

Thanks in advance

- pressy
# 2  
Old 04-20-2013
There is no way I'm aware of to tune a ZFS pool for such a mirror.

The usual way to take advantage of SSD based storage with ZFS is to set up a L2ARC to improve read performance and a ZIL device for write one.

https://blogs.oracle.com/brendan/entry/test
# 3  
Old 04-20-2013
Regarding storage tiering, in high performance environment with ZFS filesystems it is encouraged not to use it.
It also advised not to use data pools if you have any since storage will stripe across all the disks in pool.

Plain luns with only raid protection on storage level as vdevs for zfs pools.

Of course, you will have to take into account amount of spindles in such setup as well as RAID protection level.

Best would be to leave ZFS to do everything on JBOD, but that not feasable with high end storage Smilie

For additional performance SAN tweaking with preferred paths (or some other algorithm, not round robin ) per disk can help in some situations.

Check out this document :
http://www.oracle.com/technetwork/se...-wp-167894.pdf

It is for oracle database, but explains alot of things ZFS related and can be used in other scenarios (SSD usage as mentioned).
This User Gave Thanks to Peasant For This Post:
# 4  
Old 04-22-2013
Thanks for your answers;
Also got a hint that there is an open feature request:
Bug 15466549 : SUNBT6678044 MIRROR CHILD SELECTION SHOULD BE SMARTER

gP
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to split a zfs/zpool mirror for backout purposes?

Hello, I am upgrading Veritas from 5.1 to 6.0.1/6.0.5 in a Solaris 10 u8 server with OS mirrored (rpool) in zfs/zpool configuration. I need to split it to have a quick way to backout in case of failure (make splitted mirror side bootable for a quick revert, like booting from it). I remember... (3 Replies)
Discussion started by: feroccimx
3 Replies

2. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

3. Solaris

Preferred Solaris 10 AMP stack

Hi all, After being dumped in a Solaris sysadmin role, i have been trying to tidy the unpatched mess I have inherited. Part of this task is to update the current AMP stack. The current stack is Webstack 1.5, which was current in 2009, and as far as I can see, no longer supported. Post the... (2 Replies)
Discussion started by: Sol-nova
2 Replies

4. IP Networking

preferred network connections

I rotate between a static lan, dhcp lan, and various wireless networks daily. Is there a way to set preferred network connections? I use some static ip's daily, some static ip's like once a month, and almost never use the dhcp lan. The same I do with my various wireless networks. Some I use daily... (0 Replies)
Discussion started by: cokedude
0 Replies

5. AIX

HACMP: set preferred adapter for service ip

Hi, lets say we have two boot interfaces en0 en1 and two resource groups, with two service ips, sip1 and sip2, one persistent ip pers1 both persistend and service ips are applied as ip-alias when I start the cluster, and bring the resource groups up, it looks like en0: sip1 and sip2 ... (4 Replies)
Discussion started by: funksen
4 Replies

6. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

7. Solaris

effect of change of mpd preferred path settings

Hello All, In the output of the command "mpdcontrol -no xlist", I found that, some of the preferred paths are marked as "err". You can see the output below: # mpdcontrol -noxlist Unit Dev# MPD_ID/Policy DeviceName FC_AL DevMajMin IOcnt State... (0 Replies)
Discussion started by: sundar3350
0 Replies

8. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

9. UNIX for Dummies Questions & Answers

which file manager is preferred?

When I was using windowsXP I encountered a file manager called UltraExplorer http://www.mustangpeak.net/ultraexplorer.html that appeared really impressive. Now in the Linux/UNIX world I was pointed towards a similar idea called 4Pane http://www.4pane.co.uk/ I'm surprised to do a search on... (3 Replies)
Discussion started by: catch22
3 Replies
Login or Register to Ask a Question