ac88 [Solved] ZFS fragmentation - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old October 19th, 2010, 21:41
samspeed samspeed is offline
Junior Member
 
Join Date: Dec 2009
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default ZFS fragmentation

Anyone know how to defrag a ZFS pool? In about 6 months of working, speed with pool decreased by 5 times. I use copy from one pool to another for defragmentation by now. But it's a bad method because it needs to free some TB of HDD space.

Last edited by DutchDaemon; October 20th, 2010 at 00:34.
Reply With Quote
  #2  
Old October 20th, 2010, 00:19
Savagedlight Savagedlight is offline
Member
 
Join Date: Jan 2010
Location: Norway
Posts: 250
Thanks: 31
Thanked 47 Times in 35 Posts
Default

The following was posted as a reply to the question "Is it possible to defragment a zfs pool?"
Quote:
Originally Posted by phoenix View Post
Not currently. The "block pointer rewrite" feature is what's needed for this (online defragmenting) and a host of other features (migrating between vdev types, removing vdevs from the pool, etc).

It's under development and people are actively working on it, but it's not yet available as part of any ZFS release.
Reply With Quote
  #3  
Old October 20th, 2010, 11:51
jem jem is offline
Member
 
Join Date: Oct 2009
Location: United Kingdom
Posts: 324
Thanks: 17
Thanked 51 Times in 41 Posts
Default

Try to keep your pool usage below 80% for decent performance. It's in the ZFS Best Practices guide:

Quote:
Keep pool space under 80% utilization to maintain pool performance. Currently, pool performance can degrade when a pool is very full and file systems are updated frequently, such as on a busy mail server. Full pools might cause a performance penalty, but no other issues. If the primary workload is immutable files (write once, never remove), then you can keep a pool in the 95-98% utilization range. Keep in mind that even with mostly static content in the 95-98% range, write, read, and resilvering performance might suffer.
__________________
http://www.b0rken.org/
Reply With Quote
  #4  
Old October 27th, 2010, 16:27
mururoa mururoa is offline
Junior Member
 
Join Date: Oct 2009
Posts: 72
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Oh oh, memories of vms disks defragmentation
That was first disk to tape, 2nd on 1st, 3rd on 2nd, 4th ... then 1st to 2nd and tape to first.
Took all the night !
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ip_reass() api and fragmentation choupani Userland Programming & Scripting 0 September 22nd, 2010 15:34
ZFS (V15): zfs userspace -> Operation not supported interfasys General 0 August 18th, 2010 02:00
[ZFS] Combine striping and ZFS to use pools more efficient bugboy General 3 February 6th, 2010 00:46
A question about IP fragmentation and ipfw cyberman FreeBSD Development 3 May 17th, 2009 11:18


All times are GMT +1. The time now is 03:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0