UPDATE 26.06.2010! - Tester gesucht: ZFSv16 für FreeBSD

Yamagi

Possessed With Psi Powers
Teammitglied
Hallo,
wie sicher vielen schon bekannt ist, arbeitet man im Moment an einem Port der aktuellen ZFS-Version 26 auf FreeBSD. Leider hat diese Version das Problem, dass sie nicht wirklich rückkompatibel auf die aktuell genutzte Version 14 ist. Sie kann daher höchstwahrscheinlich erst mit FreeBSD 9.0 eingeführt werden. Daher hat man nun ZFSv15 portiert, welche dank Rückkompatiblität auch in FreeBSD 8.x eingesetzt werden könnte. Die Neuerungen halten sich in Grenzen, sind aber dennoch interessant:

- Echte Quotas
- PyZFS Unterstützung
- Diverse Bugfixes

Wer es testen möchte, findet hier weitere Informationen:
Code:
  ALPINE 2.00   MESSAGE TEXT [H]                    Msg 1,978 of 1,990 61%     +
                                                                                
  Date: Wed, 23 Jun 2010 00:04:31                                               
  From: Martin Matuska <mm@FreeBSD.org>                                         
  To: freebsd-current@FreeBSD.org                                               
  Subject: CFT: ZFS v15 patch                                                   
                                                                                
  Dear developers,                                                              
                                                                                
  I would like to do a call for testing for my ZFS v15 patch.                   
                                                                                
  As the user/group quotas feature is too much attractive for my needs,         
  I couldn't resist and have created (and debugged + tested) a ZFS v15          
  patch for head (applies cleanly against stable/8 as well).                    
                                                                                
  It is a backport of several onnv-revisions, always consulting pjd's p4        
  tree and includes four post-9396 related user/groupquota bugfixes.            
  The bootcode (zfsimpl.h) is properly updated to support v15 as well, the      
  python part is modified (paths, smb support, ioctls).                         
                                                                                
  The patch, list of imported revisions and a preliminary but working           
  version of the pyzfs port can be downloaded from this link:                   
  http://people.freebsd.org/~mm/patches/zfs/v15/                                
                                                                                
  You can download 8.1-RC1-amd64 with zfsv15 (incl. boot support) mfsBSD        
  ISOs from here:                                                               
  http://mfsbsd.vx.sk/iso/8.1rc1-zfsv15.iso (without symbols, 98.7M)            
  http://mfsbsd.vx.sk/iso/8.1rc1-zfsv15-debug.iso (with symbols, 187.5M)        
                                                                                
  Login/password into the ISOs: root/mfsroot                                    
  run "zfsinstall" for a zfs-on-root installation (don't forget -V 15 if        
  trying to install)                                                            
                                                                                
  The amd64 ISO's may be tested in virtualbox or real-world systems as well.    
                                                                                
  Regarding new ioctl's:                                                        
  I have added all new ioctl's in the patch as new ones (numbers 49 to 52).     
  This makes the old kernel module work with new library / utilities            
  (tested) or any other binary that references these ioctl's.                   
                                                                                
  Regarding the python port:                                                    
  The current port installs the library into PYTHON_SITELIBDIR and              
  pyzfs.py into /usr/lib/zfs/                                                   
                                                                               
  Later, we may install all necessary sources and pyzfs.py and the              
  port may be a full-dummy that doesn't need kernel/world sources.              
                                                                                
  Version 15 introduces user and group quota accounting and could be a          
  very good step in preparation towards v26.                                    
  The code runs impressingly stable (I didn't manage to reproduce any           
  panics or deadlocks yet after polishing).                                     
  It would be very great if this could get widely tested.                       
                                                                                
  I guess we could go with this code in direction stable/8 (head first),        
  because it is backwards compatible                                            
  (zfs and zpool work with older kernel module - only new features don't        
  work, the same for the boot changes, boot from older pools is supported).     
                                                                                
  Any ideas, suggetions, and bug reports are welcome!                           
                                                                                
  Cheers,                                                                       
  mm 

  _______________________________________________                                                        
  freebsd-current@freebsd.org mailing list                                      
  http://lists.freebsd.org/mailman/listinfo/freebsd-current                     
  To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"    
                                                                                
                                                                                
      [ Note: This message contains email list management information ]
 
Zuletzt bearbeitet:
So, wir erhöhen auf Version 16. Grund sind vor allem zum Teil drastische Geschwindigkeitssteigerungen.

Code:
  ALPINE 2.00   MESSAGE TEXT [H]                    Msg 1,963 of 2,051 56% NEW +

  Date: Thu, 24 Jun 2010 22:04:43                                             
  From: Martin Matuska <mm@FreeBSD.org>                                       
  To: freebsd-current@FreeBSD.org                                             
  Subject: [CFT] ZFS v16 with stat() speedup                                  

  As I have imported some more improvements to the ZFS v15 patch that also
  target speed,
  I am now calling for testing of v16 with mainly the following important
  (post-v16) enhancement (and some related bugfixes):
  
  OpenSolaris Bug ID: 6775100 stat() performance on files on zfs should be
  improved
  This significantly improves stat() performance of ZFS and has a very
  positive effect on e.g webservers using PHP
  (I benchmarked a ~20% speed increase of PHP webserving)
  
  The patch is available here:
  http://people.freebsd.org/~mm/patches/zfs/v16/head-v16-extended.patch
  
  List of all changes (compared to current head and v15-patch):
  http://people.freebsd.org/~mm/patches/zfs/v16/head-v16.txt
  
  And again some ISOs (patched 8.1rc1) for testing:
  http://mfsbsd.vx.sk/iso/8.1rc1-zfsv16.iso (without symbols, 98.7MB)
  http://mfsbsd.vx.sk/iso/8.1rc1-zfsv16-debug.iso (with kernel symbols,
  187.6MB)
  
  Login/password: root/mfsroot
  
  You can test these ISO's in Virtualbox, other emulation software or

  real-world systems.
  They contain a full installable distribution, here is a zfsinstall
  command example on an ad4 disk, with ZFS version 16, 4GB extra swap
  partition, lzjb compression and fletcher4 checksum:
  
  1. Login as root (root:mfsroot)
  2. mount_cd9660 /dev/acd0 /cdrom
  3. zfsinstall -V 16 -t /cdrom/8.1-RC1-amd64.tar.xz -s 4G -c -4 -d ad4
  
  When mfsbsd (not the installed system) is booted, there is a python and
  py-zfs package in /packages. You can copy and install these to your
  installed system for full pyzfs functionality (zfs userspace, zfs
  groupspace, zfs allow, zfs unallow).
  
  Thanks for testing,
  mm

Noch einmal eine Bitte: Es wäre wirklich schön, wenn gerade diejenigen, die ZFS nutzen, diese Patches einmal testen könnten. Auch wenn es nur in VBox ist. Es ist wie jedes Mal, es testen nur die üblichen 5 Personen... Dies ist mal wieder eine simple Möglichkeit mitzuhelfen und vorher zu testen ist ein besseres Gefühl als hinterher zu nörgeln :)
 
Da wird wohl der Bedarf an ZFS unter FreeBSD überschätzt ;)

Dasg glaub ich jetzt nicht unbedingt....
Aber auf einem produktiven System wird man so einen Stunt nicht riskieren wollen.
Kann ich jedenfalls nur verstehen. Den Test in VBox halte ich jedenfalls für

Möglicherweise wäre es sinnvoll, Oracle selbst zu kontaktieren um Access zu Sunsolve zu bekommen. In wie weit man sich darum Gedanken gemacht hat, ist mir nicht bekannt wen ich in Sunsolve nach ZFS un FreeBSD suche bekomme ich nur wenige Einträge.

Aber anscheinend arbeitet man auch an ZFS Lustre, was mich sehr positiv stimmt. :-)
 
Also ich überlege ernsthaft FreeBSD auf einem größeren Projekt zu verwenden. Ein Misserfolg würde mich ein Jahreseinkommen kosten. Ausschlaggebend ist ZFS. Dieses Feature macht FreeBSD in meinen Augen zu RHEL6 und NetBSD überlegen.
Ich nutze FreeBSD derzeit auf meinem Laptop. Muss ich ZFS v16 den Kernel neu übersetzen? Bei der Installation über MFSBSD hatte ich schon v15 zur Auswahl. Hatte mich zur Sicherheit aber für v14 entschieden.
 
Also ich überlege ernsthaft FreeBSD auf einem größeren Projekt zu verwenden. Ein Misserfolg würde mich ein Jahreseinkommen kosten. Ausschlaggebend ist ZFS. Dieses Feature macht FreeBSD in meinen Augen zu RHEL6 und NetBSD überlegen.
Ich nutze FreeBSD derzeit auf meinem Laptop. Muss ich ZFS v16 den Kernel neu übersetzen? Bei der Installation über MFSBSD hatte ich schon v15 zur Auswahl. Hatte mich zur Sicherheit aber für v14 entschieden.

Hallo, auf jeden Fall erst mal testen.
IMHO wäre es ja wenig schick wenn es Dir im Problemfall eine Produktivumgebung auseinander nimmt.

Eines noch, bitte sei so gut und überlege es Dir mit dem Einsatz von v16 jetzt schon.
Du kannst im Nachhinein immer noch die Poolversion updaten!

Also lieber erst mal das nehmen was als Stable markiert ist nehmen.
Gerade in einem Prodkutivprojekt ist meiner Meinung nach alles andere Kokolores.
 
Also ich überlege ernsthaft FreeBSD auf einem größeren Projekt zu verwenden. Ein Misserfolg würde mich ein Jahreseinkommen kosten. Ausschlaggebend ist ZFS. Dieses Feature macht FreeBSD in meinen Augen zu RHEL6 und NetBSD überlegen.
Ich nutze FreeBSD derzeit auf meinem Laptop. Muss ich ZFS v16 den Kernel neu übersetzen? Bei der Installation über MFSBSD hatte ich schon v15 zur Auswahl. Hatte mich zur Sicherheit aber für v14 entschieden.

Das ist auch gut so. ZFSv15 ist in mfsBSD noch durch experimentelle, inoffizielle Patches gegen 8.1-RELEASE bewerkstelligt. Ansonsten ist es nur in 9-CURRENT, wird aber voraussichtlich Mitte September nach 8-STABLE MFCt und auch Teil von 8.2-RELEASE. Ob v16 überhaupt noch kommt, ist so eine Frage, da bereits an der Portierung einer neueren ZFS-Version (24/25?) gearbeitet wird und sehr viele OpenSolaris-Patches für v16 auch schon in FreeBSDs v15 eingeflossen sind.

Für ein Produktivsystem würde ich nur 8.1-RELEASE mit v14 nehmen. Und auch mit dem Upgrade auf v15 warten, bis 8.2-RELEASE draußen ist, wenn es in deinem Einsatzgebiet nicht vollkommen unabdingbar ist, v15 zu haben (Kompatibilität zu Solaris 10 Update 8 zum Beispiel) oder v14 eine absolut untragbare Geschwindigkeit bringt (unwahrscheinlich).
 
Zurück
Oben