- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvcreate Distributed (-D y) vs. Striping (-i n...
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
Discussions
Discussions
Forums
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
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-23-2005 04:24 AM
тАО08-23-2005 04:24 AM
Can someone better explain the difference.
BTW, the reason HP recommended distributed was because of the larger "stripe" size -- 16M due to our extent size, but we can get 32M (32768K) using regular striping -- ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 04:33 AM
тАО08-23-2005 04:33 AM
SolutionI'm really not sure why you would want to stripe with 16M or 32M extents. That almost certainly will be much much to large of a stripe size. I'm not surprised you are seeing issues.
Normal stripes are done in the small KB range (8, 16, 32 or 64 KB generally).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 04:56 AM
тАО08-23-2005 04:56 AM
Re: lvcreate Distributed (-D y) vs. Striping (-i n)
Conventional striping stripes in much smaller chunks (e.g. 64KB) across the disks which makeup a given logical volume.
In general, the smallest possible stripe for extent-based stripping (1MB) is still much too large to spread the i/o over multiple paths and devices well and often enough for high throughput.
I find that on most devices and applications a stripe size of 64KB to 128KB is optimal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 05:00 AM
тАО08-23-2005 05:00 AM
Re: lvcreate Distributed (-D y) vs. Striping (-i n)
Do you find that is the case even with large files, ie databases that keep their extents in 1-2GB chunks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 05:11 AM
тАО08-23-2005 05:11 AM
Re: lvcreate Distributed (-D y) vs. Striping (-i n)
Choose the size of your VG (e.g. 120GB). Now create as many equally sized LUN's as your have SCSI path's to your array. If for example you have 3 SCSI paths then create 3 40GB LUN's. LUN 0's primary path should be SCSI PATH 0 (alternate 1); LUN 1's primary PATH should be SCSI PATH 1 (alternate 2); LUN 2's primary path should be SCSI PATH 2 (alternate 0). Now you create each LVOl and stripe across each LUN in 64-128KB chunks. This tends to give the best database performance using vxfs filesystems.
You should also avoid RAID-5 and use RAID 1/0 -- basically trading significantly better performance for significantly poorer storage capacity.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 05:22 AM
тАО08-23-2005 05:22 AM
Re: lvcreate Distributed (-D y) vs. Striping (-i n)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 07:18 AM
тАО08-23-2005 07:18 AM
Re: lvcreate Distributed (-D y) vs. Striping (-i n)
By the way, if you reduce to a smaller number of equally sized LUN's, it will APPEAR that you have i/o bottlenecks because all any host-based measurement tool like Glance will know is that a tremendous amount of i/o is going through a small number of devices (never mind that the actual LUN might be many physical disks). You can increase the number of LUN's so that the i/o rate per device APPEARS to go down but in almost all cases there is no actual difference in performance and less LUN's are easier to manage.
The only way to know for sure is to test using your hardware and data but I have yet to see a case where extent-based striping wins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2005 07:29 AM
тАО08-23-2005 07:29 AM
Re: lvcreate Distributed (-D y) vs. Striping (-i n)
Distributed allows you to mirror which is good for HA Serviceguard and other manageability.
The best performance for us came from groups of stripes over 4 luns which mapped to different LUSE volumes in the xp. Make sure you spread the load over all controllers for all i/o and increase your scsi_max_qdepth to 32 or even 64. Otherwise sar will show your avq increase and IOs may get blocked in the o/s unnecessarily.
Using distributed reduced performance when we had too many luns in the vg - especially when some of the luns ultimately mapped to the other end of the same disks as others. Beware of this. It may be a disk array but it still pays to plan your storage mapping.
So to summarise, your PE size is too big - you could either use real stripes of 64-128k or re-create the VG with a smaller PE-1,2 or 4Mb at most but I don't think it worth using distributed unless you have a campus HA cluster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2005 02:46 AM
тАО08-26-2005 02:46 AM