ArticleslgStudy

computer science

High Performance File System

High Performance File System is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand High Performance File System rather than just read about it. In short: HPFS (High Performance File System) is a file system created specifically for the OS/2 operating system to improve upon the limitations of the FAT file system. It was written by Gordon Letwin and others at Microsoft and added to OS/2 version 1.2, at that time still a joint undertaking of Microsoft and IBM, and released in 1988.

Key takeaways

  • High Performance File System belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect High Performance File System to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of High Performance File System from memory before moving on to harder problems.

Reference excerpt

HPFS (High Performance File System) is a file system created specifically for the OS/2 operating system to improve upon the limitations of the FAT file system. It was written by Gordon Letwin and others at Microsoft and added to OS/2 version 1.2, at that time still a joint undertaking of Microsoft and IBM, and released in 1988.

Overview Compared with FAT, HPFS provided a number of additional capabilities:

Support for mixed case file names, in different code pages Support for long file names (255 characters as opposed to FAT's 8.3 naming scheme) More efficient use of disk space (files are not stored using multiple-sector clusters but on a per-sector basis) An internal architecture that keeps related items close to each other on the disk volume Less fragmentation of data Extent-based space allocation Separate datestamps for last modification, last access, and creation (as opposed to last-modification-only datestamp in then-times implementations of FAT) B+ tree structure for directories Root directory located at the midpoint, rather than at the beginning of the disk, for faster average access HPFS also can keep 64 KB of metadata ("extended attributes") per file. IBM offers two kinds of IFS drivers for this file system:

The standard one with a cache limited to 2 MB HPFS386 provided with certain server versions of OS/2, or as added component for the server versions that did not come with it HPFS386's cache is limited by the amount of available memory in OS/2's system memory arena and was implemented in 32-bit assembly language. HPFS386 is a ring 0 driver (allowing direct hardware access and direct interaction with the kernel) with built-in SMB networking properties that are usable by various server daemons, whereas HPFS is a ring 3 driver. Thus, HPFS386 is faster than HPFS and highly optimized for server applications. It is also highly tunable by experienced administrators. Though IBM still had rights to HPFS, its agreement with Microsoft to continue licensing the HPFS386 version was contingent upon the company paying Microsoft a licensing fee for each copy sold. This was a result of the Microsoft and IBM collaboration that gave both the right to use Windows and OS/2 technology. Due to the Microsoft dependence, limited partition size, file size limit of 2 GB and the long disk-check times after a crash, IBM ported the journaling file system, JFS, to OS/2 as a substitute. DOS and Linux support HPFS via third-party drivers. Windows NT versions 3.51 and earlier had native support for HPFS.

Native support under Windows Windows 95 and its successors Windows 98 and Windows Me have no support for HPFS. They listed the NTFS partitions of networked computers as "HPFS", because NTFS and HPFS share the same filesystem identification number in the partition table. Windows NT 3.1 and 3.5 have native read/write support for local disks and can even be installed onto an HPFS partition. Windows NT 3.51 can also read and write from local HPFS formatted drives. Starting with Windows NT 4 the filesystem driver PINBALL.SYS enabling the read/write access is not shipped anymore. Later Windows versions do not ship with this driver. Note that this driver is limited to 4GB HPFS volumes. Microsoft retained rights to OS/2 technologies, including the HPFS filesystem, after they ceased collaboration with IBM. Since Windows NT 3.1 was designed for more rigorous (enterprise-class) use than previous versions of Windows, it included support for HPFS (and NTFS) giving it a larger storage capacity than the FAT12 and FAT16 filesystems. However, since HPFS lacks a journal, any recovery after an unexpected shutdown or other error state takes progressively longer as the filesystem grows. A utility such as CHKDSK would need to scan each entry in the filesystem to ensure no errors are present, a problem which is vastly reduced on NTFS, which simply replays the journal.

See also Comparison of file systems HPFS BPB

References

Further reading Ray Duncan (September 1989). "Design goals and implementation of the new High Performance File System". Microsoft Systems Journal. 4 (5): 1–13. Bridges, Dan (November 1996). "Inside the High Performance File System - parts 1 to 6". Electronic Developer Magazine for OS/2. Vol. 4, no. 10. Retrieved 2016-07-18. Dieter Brors (1997). "HPFS unter Windows NT 4.0". C't Magazin für Computertechnik (German). 1: 306. Chris Graham. "Appendix G — HPFS internals". The Graham Utilities for OS/2 - Version 2. Archived from the original on 2006-02-10. How to get Windows NT 4, Windows 2000, and Windows XP to read HPFS partitions[link removed]

Worked examples

Example 1 — a first encounter with High Performance File System

Start with the simplest possible case. Write down what High Performance File System claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to High Performance File System before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about High Performance File System ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of High Performance File System

In research
High Performance File System appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses High Performance File System in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
High Performance File System is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer file systems, Disk file systems, File systems supported by the Linux kernel, so understanding it makes those chapters shorter.
In everyday life
Look for High Performance File System outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “High Performance File System” →

How to study High Performance File System in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what High Performance File System means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain High Performance File System out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is High Performance File System in simple terms?

HPFS (High Performance File System) is a file system created specifically for the OS/2 operating system to improve upon the limitations of the FAT file system. It was written by Gordon Letwin and others at Microsoft and added to OS/2 version 1.2, at that time still a joint undertaking of Microsoft…

Why does High Performance File System matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study High Performance File System?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on High Performance File System.

Tags

  • Computer file systems
  • Disk file systems
  • File systems supported by the Linux kernel
  • IBM file systems
  • OS/2 technology
  • Software programmed in assembly language
  • Windows disk file systems

Keep exploring