OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group tools
:
OpenSolaris Source Code Management
>
OpenSolaris DSCM Evaluation: Bzr (Interim Report)
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
OpenSolaris DSCM Evaluation: Bzr (Interim Report)
Hide Line numbers
1: = OpenSolaris DSCM Evaluation: Bzr (Interim Report) 2: 3: === 1. Introduction 4: 5: > bzr, or Bazaar-NG, is a distributed source code management system being developed as a successor to Bazaar 1.x. Work on bzr is funded by Canonical; bzr is released under the GPL. 6: 7: === 2. Version used 8: 9: > bzr 0.7 was used for the evaluation. 10: 11: === 3. Requirements 12: 13: > This section will look at the requirements as listed in the Distributed Source Code Management Requirements, version 1.4. 14: **3.1 E0 - Open source** 15: bzr is open source, and available under the GPL, version 2. 16: **3.2 E1 - Unbiased and disconnected distribution** 17: bzr can operate in a disconnected fashion. With the bzrtools extensions, bzr gains a push implementation; the core tool supports only pull by default. 18: **3.3 E2 - Networked operation** 19: bzr supports a number of network transports. sftp can be used for push and pull. 20: **3.4 E3 - Interface stability and completeness** 21: bzr has a plugin interface. Popular plugins have migrated into the core as their value is demonstrated. 22: bzr has supported upgrade across storage version changes. The development site suggests that the current format is long-lived, but also is exploring alternate formats with greater efficiencies. 23: **3.5 E4 - Standard operations and transactions** 24: History preserving rename is supported. Merge across rename is supported. Deletion of files is supported. 25: **3.6 E5 - Per changeset metadata** 26: Generic handling of versioned metadata is still an architectural goal. bzr can support GPG-based signing of revisions in the tested version. 27: **3.7 C6 - Ease of use** 28: bzr, because of its primarily Python-based implementation, is straightforward to install. For use of the sftp transport, the additional modules paramiko and pyCrypto are required; these modules are produced by members of the Python community separate from the bzr effort. 29: bzr’s CLI is consistent and generally easy to understand. The command has reasonably detailed internal help text. bzr with bzrtools has a number of advanced commands that may cause confusion; in particular, the merge/remerge/commit/uncommit/resolve/shelve subcommand complex encompasses a set of operational choices that could result in user vertigo during synchronization. 30: **3.8 C7 "No dedicated server" operational mode** 31: bzr does not have a server program. 32: **3.9 C8 - Tool community health** 33: The bzr community appears to have active core developers and contributors. 34: **3.10 C9 - OpenSolaris community implementation expertise** 35: Specifically for bzr, none known; a number of community members have Python experience. Due to participation in other OSS communities, that number is increasing. 36: **3.11 C10 - Interface extensibility** 37: The post_commit hook allows a Python function, presumably delivered in a plugin, to be executed on post_commit. (Because of the nature of push, which is serverless, notification operations like we use today appear to require the existence of a child repository to follow the integration repository and execute hooks.) A mail-on-commit operation is another possibility. 38: **3.12 C11 - Transactional operations and corruption recovery** 39: bzr attempts to maintain transactional integrity. The ’check’ subcommand is used to verify history consistency; I did not evaluate whether check would catch all possible forms of corruption. 40: **3.13 C12 - Content generality** 41: Binary files are supported. An interesting aspect of bzr’s implementation is that it uses Unicode internally, with repositories being stored in UTF-8. 42: **3.14 O13 - Partial trees** 43: Partial trees are not supported 44: **3.15 O14 - Per-file histories** 45: Per-file histories are not supported. The log subcommand can be used to examine the revisions affecting a specific file or files. 46: 47: === 4. Evaluation 48: 49: >**4.1 Test hardware used** 50: psrinfo -v output: 51: The physical processor has 1 virtual processor (0) 52: x86 (AuthenticAMD family 15 model 5 step 8 clock 2189 MHz) 53: AMD Opteron(tm) Processor 248 54: The physical processor has 1 virtual processor (1) 55: x86 (AuthenticAMD family 15 model 5 step 8 clock 2189 MHz) 56: AMD Opteron(tm) Processor 248 57: uname -a output: 58: SunOS muskoka 5.11 snv_35 i86pc i386 i86pc 59: Tests were run on a local 37G mirrored UFS filesystem. 60: **4.2 Test results** 61: 4.2.1 Speed 62: First commit (bzr add + bzr commit) of the OpenSolaris source tree: 7m20s 63: Local clone of this repository: 23m02s - 25m31s over three runs. 64: Local commit of one file in the repository: 16m47s. 65: Operations in general appear to require a traverse of the entire tree, as mentioned in the preliminary findings. 66: In one test, bzr branch coincidentally exhausted the available swap on the system. After extending a resident-set-size tracking tool (to monitor the complete RSS of the progeny of the initial command), I compared RSS usage of three DSCMs: bzr, Mercurial, and TeamWare. bzr, which had a peak RSS of 144.6MB, exceeded Mercurial’s peak of 40.5MB and TeamWare’s of 51.9MB by a substantial factor. 67: **4.2.2 Conflict resolution** 68: A test harness was used to test the following conflict scenarios: 69: * **Two users each have a clone of a central repository. Both make a different change to the same line of the same file.** 70: bzr detected the diff3 conflict. After manually resolving the conflict, the second user was able to commit and push. 71: * **Three users each have a clone of a central repository. Both move the same files to different locations. A 3rd user renames one of the files in its original directory. All then do a commit and a push.** 72: bzr detected the conflict. I assume that there is a resolution procedure, but this case (rename conflict) is not well covered by the documentation. 73: **4.3 Source code** 74: 20 409 lines of Python compose the core of bzr. The implementation appears to be broken up into sensible modules. There appears to be a commitment to testing at the module level, with coverage for most of the .py files in bzrlib. 75: The support modules and bzrtools were not examined. 76: 77: === 6. Conclusions 78: 79: > bzr appears to be a distributed SCM that has made sound choices regarding algorithms and representation, but is still progressing towards implementation maturity. A repository of the size of the OS/Net consolidation appears to present resource challenges, as local operations require significantly more time and more memory than other DSCMs. The use of sftp for push is not appealing, as it leaves a hosting environment with little choice but to offer sftp access in a general sense. Even a limited server program would greatly constrain the set of actions open to an uninformed or malicious committer. 80: 81: === 7. Todo: 82: 83: >* Storage consumption as yet unexamined. 84: * Although we haven’t used C elementtree, the timing does not appear to suggest CPU as the scarce resource.
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group tools Pages
Build/Install OpenSolaris (Part 1)
Build/Install OpenSolaris (Part 2)
Downloads
Files
GCC
Bug Fixing Notes
Build Instructions
Important Notes
ONNV Policy
Background and Rationale
Shadow Compilation
Current Status
Mercurial Tools
Dynamic Linking
OpenSolaris Source Code Management
OpenSolaris DSCM Evaluation: Bzr (Interim Report)
OpenSolaris DSCM Evaluation: Mercurial
DSCM Requirements Document
Candidate Evaluation Form
Evaluation Plan
How To Use Mercurial (hg) Repositories
How To Transition from Teamware to Mercurial
SCM Project History
ON SCM-Related Tools
Source Code Management for OpenSolaris: MILESTONES
SCM console specification
SCM hosting implementation specification
How To Use SVN Repositories
Source Code Management Downloads
Sun Studio Downloads
Sun Studio FAQs
Sun Studio Getting Started
Sun Studio 11 License
Sun Studio 12 License
Sun Studio 10 License
Sun Studio 10 Downloads
Sun Studio 11 Downloads
Sun Studio 11-- Previous Downloads
Sun Studio 12 Compilers and Tools for the OpenSolaris Common Build Environment (CBE)
Sun Studio Support