IEC 62842:2015 — File Allocation System with Minimized Reallocation for Multimedia Home Servers

💻 Key Insight: IEC 62842 introduces CoPo2 (Contiguous Partition with 2-level management), a novel file allocation method that prevents fragmentation before it occurs in HDD recorders, eliminating the need for time-consuming defragmentation in consumer multimedia home servers.

1. Problem Context and Scope

IEC 62842:2015 addresses a fundamental problem in home multimedia servers: file fragmentation caused by continuous recording, playback, and deletion of television programs. When hard disk recorders (HDRs) repeatedly create and delete variable-length video files, the UDF (Universal Disc Format) file system becomes increasingly fragmented, leading to degraded performance.

The standard applies to UDF file systems on hard disk drives used in hard disk recorders and Blu-ray Disc recorders for home multimedia servers. The core innovation is the “CoPo2” method — Contiguous Partition with 2-level management — which allocates file space contiguously to minimize the need for reallocation of fragmented files.

⚠️ Problem Statement: In a typical HDR, television programme streams include at least video content and EPG (Electronic Programme Guide) data. Video content is stored as long, variable-length files depending on quality and recording duration, while EPG information is stored in shorter, frequently updated files. The continuous creation, deletion, and updating of files of different lengths causes fragmentation that severely impacts system performance. Traditional defragmentation tools require the user to wait for completion with no other activity, which is unacceptable in a home environment.

2. The CoPo2 Method

2.1 Core Principle

The CoPo2 method operates on the principle that fragmentation can be prevented by intelligent pre-allocation of contiguous space. Instead of allowing the file system to allocate space dynamically (which leads to fragmentation over time), CoPo2 reserves contiguous regions for different types of data and manages allocation through a two-level partition management system.

AspectConventional UDF File SystemCoPo2-Enhanced UDF
Allocation strategyDynamic, first-fitPre-planned, contiguous
Fragmentation over timeIncreases significantlyMinimized
Defragmentation neededFrequently (weekly/monthly)Rarely or never
User impactMust wait for defragNo interruption
Management overheadLowModerate (2-level tables)
Worst-case file accessHighly degradedConsistent

2.2 Two-Level Partition Management

CoPo2 implements a hierarchical management structure:

  • Region Configuration Master Partition Table (RCMPT): The top-level table that divides the storage into major regions (e.g., video recording region, EPG data region, system data region).
  • Multilevel-Divided-Partition Management Tables: Sub-tables within each region that manage the allocation of individual extents, ensuring contiguous allocation within each division.
✅ Engineering Insight: The two-level approach provides an optimal balance between flexibility and fragmentation prevention. The top-level regions can be resized dynamically as usage patterns change (e.g., more EPG data over time), while the sub-level management ensures that files within each region remain contiguous. The management table size is kept small — for a typical 1 TB HDD, the overhead is approximately 0.1% of total capacity.

3. Integration with UDF

The standard specifies how CoPo2 management tables integrate with the standard UDF volume structure (ISO/IEC 13346 series and OSTA UDF 2.01):

  • Logical Volume Descriptor (LVD): Modified to reference the CoPo2 partition structure
  • Partition Descriptor: Uses the “Implementation Use” field to indicate CoPo2 management
  • CoPo2 Partition Header Descriptor: New descriptor type that defines the master partition table
  • Space Bitmap Descriptor: Tracks free/allocated extents within each sub-division
DescriptorFunctionKey Fields
Partition Header DescriptorStandard UDF partition headerPartition type, flags, start/end locations
CoPo2 Partition Header DescriptorCoPo2-specific table locationRCMPT location, number of regions, region size
Space Bitmap DescriptorFree space tracking per divisionBit-count, bitmap data per division
CoPo2 Manage TableActual allocation dataDivision ID, start block, block count

4. Practical Application for Manufacturers

For consumer electronics manufacturers implementing CoPo2 in HDD recorders, the standard provides specific guidance on management table sizing for common storage media:

  • Blu-ray Disc (25 GB single layer): A single region configuration is sufficient, with sub-divisions for video, audio, and system data.
  • Hard Disk Drive (500 GB – 2 TB): Multiple regions are recommended based on typical recording patterns (e.g., daily recordings, time-shift buffer, permanent library, and EPG data).
🔴 Implementation Consideration: While CoPo2 significantly reduces fragmentation, manufacturers must carefully determine the initial region sizes based on expected usage patterns. A region that fills completely will force allocation into less-optimal areas, potentially causing fragmentation similar to a standard UDF system. Periodic region boundary adjustment based on actual usage statistics is recommended for optimal long-term performance.

5. Frequently Asked Questions

Q1: Is CoPo2 compatible with existing UDF file systems?

CoPo2 is designed as an extension to UDF and maintains backward compatibility. Standard UDF readers can still access the volume, though they will see the CoPo2 metadata as vendor-specific data. Full CoPo2 functionality requires a CoPo2-aware file system driver.

Q2: Does IEC 62842 apply to solid-state drives (SSDs)?

The standard primarily addresses HDDs, where fragmentation has significant performance impact. SSDs have different performance characteristics (no mechanical seek time), but excessive fragmentation can still affect write performance and wear leveling. The principles of CoPo2 could be adapted for SSDs, but this is not explicitly covered by the current edition.

Q3: What is the performance gain from using CoPo2?

Typical performance improvements include 2-5x reduction in file access time after extended use, elimination of defragmentation downtime (saving 30-120 minutes per month), and more consistent recording/playback performance. The exact gain depends on usage patterns and HDD capacity.

Q4: Does CoPo2 require changes to the physical disk format?

No, CoPo2 operates entirely at the file system level within the UDF volume structure. No changes to the physical disk format, partition table, or low-level formatting are required. This makes it suitable for integration into existing HDD recorder firmware without hardware modifications.

© 2026 TNLab

📥 Standard Documents Download

🔒
Please wait 10 seconds, the download links will appear after the ad loads

Leave a Reply

Your email address will not be published. Required fields are marked *