Os Lab 3
Os Lab 3
OS EXPERIMENT 3
AIM: To study about different types of real time operating systems and the
changes made in them in each version.
Key Feature:
Small memory size, low overhead, and fast execution.
Tick-less option for low power applications.
Lightweight and portable.
Versions of freeRTOS:
FreeRTOS V4.x:
FreeRTOS V5.x:
FreeRTOS V6.x:
FreeRTOS V7.x:
● Added software timers and task notifications.
● Updates for STM32, PIC32, MSP430X, RX600.
● Preemptive scheduling improvements.
● Memory usage and heap enhancements.
● Support for FreeRTOS+FAT and FreeRTOS+TCP stacks.
FreeRTOS V8.x:
FreeRTOS V9.x:
FreeRTOS V10.x:
Versions 1.6.0 to 1.10 (2017–2018): These updates brought ARM64 architecture support,
improved POSIX API coverage, and introduced Zephyr’s own Bluetooth Low Energy
(BLE) stack and networking improvements. Power management also matured during this
period.
Version 1.14 (2019): Marked as the first Long-Term Support (LTS) version. It featured
API stability and a strong foundation for commercial adoption.
Version 2.0 (2019): A major redesign of the kernel with cleaner APIs, improved code
structure, and better portability. Deprecated features from earlier versions were removed.
Versions 2.2 to 2.6 (2020–2021): These versions focused on expanding hardware support,
adding drivers and support for peripherals like USB, CAN, and PWM, and refining
Cortex-M optimizations.
Version 3.0 (2021): A significant cleanup release that removed all deprecated APIs and
improved SMP (Symmetric Multiprocessing) support, paving the way for multi-core
processors.
Versions 3.1 to 3.4 (2021–2022): Brought enhancements in Devicetree handling, logging
system, and build infrastructure. Also introduced improvements in security and testing.
Versions 3.5 to 3.6 (2022): Focused on MISRA compliance, Bluetooth stack stability, and
extended BLE Mesh features.
Version 3.7 (2023): Marked as the second LTS release, ensuring long-term support, API
stability, and toolchain compatibility. It also introduced broader board support and better
testing pipelines.
Versions 3.8 to 3.9 (Late 2023): Continued expanding support for modern
microcontrollers like ESP32-S3, improved build speed, and refined BLE Mesh and
networking stacks.
Version 3.10 (2024): Brought major improvements in kernel tracing, added new logging
features, and optimized memory usage. Also enhanced support for RISC-V and other
architectures.
Versions 3.11 to 3.12 (2024–2025): Latest updates include further multi-core scheduling
improvements, advanced memory protection, expanded POSIX compliance, and better
security infrastructure
3. Automotive:
○ Digital thermometers
○ Portable ECG monitors
○ Blood glucose meters
2. Wearables:
○ Smart inhalers
○ Connected insulin pens
○ Pulse oximeters
❖1)What is AlmaLinux?
_______________________________________________________________________________________
_______________________________________________________________________________________
What are the Editions of Alma Linux?
There are 3 main editions of Alma Linux which are discussed below:
considered to be reliable and secure. This release is intended for users and
organizations that require a stable operating system for their servers, applications,
and workloads.
● AlmaLinux OS Stable Release is built upon the upstream source code of Red Hat
Enterprise Linux (RHEL).
● This means it inherits the stability, security, and features from RHEL, providing
● users with a free and open-source alternative to RHEL for their enterprise needs.
●
testing, providing feedback, and reporting any issues or bugs they encounter.
➔ Beta releases are crucial for the development process as they help identify potential
issues before they reach a stable release.
➔ Users who are comfortable with testing pre-release software can contribute to the
improvement of AlmaLinux by participating in the beta testing phase.
software is ready for release, but they want to subject it to additional testing to
➔ The purpose of the Release Candidate phase is to gather more feedback from a
broader audience and catch any remaining issues that might have been overlooked.
➔ It's a final check before declaring the version as the official stable release. Users are
encouraged to test the Release Candidate and report any issues they encounter.
_______________________________________________________________________________________
➢ Features of Alma Linux:
● Stability and Reliability: Like RHEL, AlmaLinux emphasizes stability and reliability,
making it suitable for use in production environments where a robust and dependable
● Long-Term Support (LTS): AlmaLinux provides long-term support for its releases,
offering security updates and maintenance over an extended period. This is
particularly important for enterprise users who require a stable platform for an
extended lifecycle.
● Security Features: AlmaLinux inherits security features from RHEL, including SELinux
(Security-Enhanced Linux) for access control policies, firewall management tools, and
● Free and Open Source: AlmaLinux is freely available and open-source, aligning with
the principles of open software development. This accessibility makes it an attractive
Linux distribution.
_______________________________________________________________________________________
made by Red Hat in the development of RHEL could impact AlmaLinux. This
updates.
● Evolutionary Changes: As with any evolving project, there could be changes in the
development or strategic direction of AlmaLinux. Users should stay informed about
❖ ________________________________________________________________________________Ha
rdware Requirements:
________________________________________________
❖ Rocky Linux:
________________________________________________
___________________________________________________
What is Rocky Linux?
● Rocky Linux was founded in 2021 by Gregory Kurtzer, one of the co-founders of
CentOS, after Red Hat discontinued CentOS. The OS is under intensive
and excellent stability. The latest version is 9.0. The lifecycle for each release is
compatible with RHEL, and it is ideal for servers. Kurtzer took the RHEL
reliable, user-friendly, and free Linux distribution. It also targets users looking for
● Server Management: Perfect for database servers and web servers, offering
● Personal Use: Tech-savvy people looking for a reliable and adaptable operating
system for daily duties. Rocky Linux is a free and adaptable personal computer
platform.
and affordability.
___________________________________________________________________________________
______________________________________________________________
● Stability
Rocky Linux's purpose is to replace CentOS, which means it focuses on offering
CentOS's main advantage - stability. Rocky Linux is gaining users' trust by
focusing on stability and ensuring the system runs smoothly and with no sudden
updates.
● Compatibility
Rocky Linux is 100% compatible with the Red Hat Enterprise binary code. The
bug-for-bug compatibility vouches for the OS's performance, efficiency, and
stability, which are some of RHEL's key features. Since its release, Rocky has
fixed the issues related to container images and cloud-based offers.
Migrations from CentOS, AlmaLinux, and other distributions are also simplified
using the migrate2rocky tool.
● Open Source
Being open-source is one of the key features of Rocky Linux since it benefits the
entire community. An open-source distribution based on stable RHEL code
ensures a constant community flow of documentation, security management,
and updates that focus on the users' needs.
● Support
The OS's popularity is rising, which means community support is also increasing.
Having a large and thriving community means that the OS will remain free and
well-supported, and those who want can also purchase commercial support
provided by several companies.
__________________________________________________________________________________________________________________________
Drawbacks:
As all operating systems, Rocky Linux also has some drawbacks:
❖Age
Rocky Linux is still in its initial stages, which is its main drawback.
However, as the community grows and the project matures, it is becoming
less of an issue. Still, some users are concerned about its future as its
maintenance requires a lot of money and committed supporters for
development and updates.
❖Slow Updates
These are the Rocky Linux Release Versions, together with information on their support, release
dates, and user impact.The Rocky Linux versions are shown in the table below, along with the
Life
Rocky Green Obsidian 1 May 2021 31 May 2024 31 May 8.10 (May 31,
Rocky Blue Onyx July 14, May 31, 2027 May 31, 9.5 (November 19,
Yes. Rocky Linux, developed by Gregory Kurtzer, one of CentOS's initial inventors, is a good
replacement for CentOS. Rocky Linux is an enterprise-class Linux distribution built on top of
the RHEL binaries. For anyone switching from CentOS, Rocky Linux is an appealing option.
The distribution maintains the open source ethic while claiming to be "bug-for-bug"
What is Linux?
Linux is a free and open-source operating system that belongs to the Unix-like family of
systems. It is based on the Linux kernel, which was first released by Linus Torvalds on
September 17, 1991. The kernel is the core part of the operating system that manages
hardware resources and allows software applications to communicate with the hardware.
Over the years, Linux has evolved into a highly versatile OS used across many platforms:
It is considered a powerful, secure, and stable operating system, making it popular in both
academic and enterprise environments.
What are Linux Distributions (Distros)?
A Linux Distribution (or Distro) is a packaged version of the Linux operating system that
includes:
Distributions are created to serve different purposes and user bases—ranging from general use
and education to advanced enterprise management and security.
Each distribution may differ in package management (e.g., .deb vs .rpm), user interfaces, and
system performance, allowing users to choose based on their needs.
Importance of enterprise-level Linux (SUSE & RHEL)
● Uses the RPM Package Manager and supports automation tools like Ansible.
● RHEL versions have long-term support cycles (up to 10 years), essential for critical
systems.
● Known for its flexibility, modular architecture, and support for SAP applications.
● Offers YaST (Yet another Setup Tool) for simplified system management.
● Acquired by Novell in 2003, which launched SUSE Linux Enterprise (SLE) for business
use.
● Novell itself was acquired by The Attachmate Group in 2011, making SUSE an
independent business unit.
● In 2014, Micro Focus took over, and in 2019, SUSE was sold to EQT, a private equity
firm.
Key Versions
SUSE Linux is offered in two primary forms—an enterprise edition and a community version.
SUSE Linux Enterprise Server (SLES) is the main commercial product tailored for server
environments. It has been used in enterprise workloads, mainframes, and high-performance
computing since its first release in 2000.
SUSE Linux Enterprise Desktop (SLED) is the desktop-oriented version aimed at professional
workstations. It includes tools like LibreOffice, GNOME, and Evolution and is built on the same
codebase as SLES.
● YaST (Yet another Setup Tool): A central configuration tool that handles system setup,
software management, networking, partitioning, and user controls via GUI or CLI.
● Zypper: A command-line package manager used for installing, updating, and removing
software using RPM packages.
● Btrfs and Snapper: SUSE uses Btrfs as the default filesystem for the root partition,
offering snapshot capabilities managed via Snapper. This allows administrators to roll
back system changes easily.
● System compatibility: Designed for broad hardware support including x86_64, ARM64,
IBM Z, and POWER architectures.
The architecture also includes support for technologies like Docker, Podman, transactional
updates, and secure boot environments.
Use Cases
SUSE Linux Enterprise is widely adopted in industries that require robust, scalable, and secure
systems.
Support structure:
● Long-Term Service Pack Support (LTSS) is available for up to 13 years for selected
versions.
openSUSE Leap users benefit from regular updates and can migrate to SLE if enterprise-level
support is later required.
RHEL
History & Background
Red Hat Linux was one of the earliest Linux distributions, founded in 1993 by Bob Young and
Marc Ewing. It became popular in both academic and enterprise settings due to its simplicity,
documentation, and commercial support model.
● In 2003, Red Hat split its product line into two: the community-driven Fedora Project
and the commercially supported Red Hat Enterprise Linux (RHEL).
● RHEL quickly became the industry standard for enterprise Linux deployments.
● Red Hat was acquired by IBM in 2019 for $34 billion, marking one of the largest tech
acquisitions focused on open source.
Key Versions
Red Hat follows a structured release cycle, with major versions supported for up to 10 years
under the standard subscription model.
Notable versions:
● RHEL 8 (2019): Added AppStreams, modular content, and cockpit web console.
● RHEL 9 (2022): Based on Fedora 34, supports newer kernel, SELinux improvements,
and container updates.
RHEL also offers minor point releases (e.g., 8.9, 9.3) with updated packages and backported
features.
Features and Architecture
RHEL is designed for stability, security, and long-term enterprise support. It is built on RPM
packages and uses the DNF/YUM package manager.
Key features:
● Systemd: Replaces init for faster and more reliable system startup and service
management.
● Podman and Buildah: OCI-compliant tools for managing and building containers
without requiring a daemon (unlike Docker).
● Red Hat Insights: A predictive analytics tool for risk identification and system health
checks.
RHEL is available for x86_64, ARM64, IBM POWER, and IBM Z architectures.
Use Cases
RHEL is the go-to Linux distribution for mission-critical systems and regulated industries.
● Red Hat Customer Portal: Access to updates, security advisories, and certified
software.
● EUS (Extended Update Support) and ELS (Extended Life Support) are available for
older versions needing longer support cycles.
● Fedora: The upstream project where new technologies are first introduced and tested.
AIX (Advanced Interactive eXecutive)
● Initial Development: AIX was first introduced in 1986 for the IBM 6150 RT PC
workstation. The system was a collaboration with Interactive Systems Corporation, and it
was a hybrid Unix, combining features from both AT&T's System V and Berkeley
Software Distribution (BSD) Unix. This gave AIX a rich set of features and a familiar
environment for a broad range of Unix users.
● RS/6000 Era: In 1990, IBM launched the RS/6000 series, a family of servers and
workstations based on its new POWER (Performance Optimized With Enhanced
RISC) architecture. AIX was the native operating system for this new hardware, and this
partnership would define its future. The RS/6000 and AIX became the foundation for
IBM's enterprise computing business, competing directly with other commercial Unix
vendors like Sun Microsystems and Hewlett-Packard.
● Power Systems: In 2008, IBM officially merged the "pSeries" and "iSeries" lines into a
single, unified brand: Power Systems. This platform could run AIX, IBM i (the successor
to OS/400), and Linux on the same hardware. This move reflected the growing
importance of Linux in the enterprise market.
● Continuous Innovation: IBM continues to actively develop AIX, with a focus on modern
features and integration with emerging technologies.
○ AIX 7.3 (released in 2021) brought enhancements for hybrid cloud, security, and
enterprise AI. It offers integration with Red Hat OpenShift, allowing AIX
applications to coexist with containerized workloads.
○ Live Kernel Update: A key feature in recent versions that allows for system
updates without requiring a system reboot, further enhancing its reputation for
high availability.
● Future Roadmap: Unlike other commercial Unix systems that have been retired, AIX
has a clear and committed roadmap from IBM that extends well into the 2030s. IBM's
strategy is to position AIX as a secure, reliable, and high-performance platform for
mission-critical workloads within a hybrid cloud environment.
● Pros:
● Exceptional Stability: Known for its rock-solid reliability and uptime, making it a
top choice for mission-critical applications.
● Advanced Virtualization: Features like micro-partitioning and Live Partition
Mobility (LPM) allow for flexible resource allocation and seamless system
maintenance without downtime.
● Excellent Administration Tools: The SMIT (System Management Interface
Tool) simplifies complex administration tasks by providing a menu-driven
interface that generates command-line scripts.
● Performance: It's highly optimized for IBM's Power hardware, providing excellent
performance and scalability for demanding workloads.
● Cons:
● Early Releases: HP-UX was first launched in 1983 and was based on Unix System V.
Initially, it ran on HP's proprietary Motorola 68000-based workstations and HP's own
FOCUS architecture.
● The PA-RISC Architecture: The system's true identity was forged with the introduction
of HP's PA-RISC (Precision Architecture-RISC) in the mid-1980s. HP-UX became the
native operating system for the highly successful HP 9000 series of servers and
workstations. This period saw HP-UX become a major player in the commercial Unix
market, competing directly with systems from Sun Microsystems and IBM.
● Key Innovations: During this time, HP-UX introduced several advanced features that
made it stand out:
○ Access Control Lists (ACLs): HP-UX was one of the first Unix systems to
implement ACLs, providing more granular control over file permissions than the
standard Unix model.
○ Logical Volume Manager (LVM): It was also a pioneer in integrating a built-in
LVM, which simplified disk management and offered flexibility for enterprise
storage.
○ High-Availability Clustering: HP-UX was renowned for its high-availability
solutions, particularly with HPE Serviceguard, which provided clustering and
automatic failover for mission-critical applications.
● The HP-Intel Partnership: In the late 1990s, HP partnered with Intel to develop a new
64-bit architecture called Itanium (IA-64). The goal was for Itanium to be the
next-generation platform for both companies, eventually replacing both HP's PA-RISC
and Intel's x86-based systems for high-end computing.
● HP Integrity Servers: HP-UX was ported to the Itanium architecture, and the new
servers were branded as HP Integrity Servers. For a time, HP offered versions of
HP-UX that ran on both the legacy PA-RISC and the new Itanium-based platforms,
providing a migration path for customers.
● The Decline of Itanium: Despite initial high hopes, the Itanium architecture failed to
gain widespread adoption. It struggled with performance, especially when running legacy
x86 code, and it faced fierce competition from the increasingly powerful and
cost-effective x86-64 architecture from Intel and AMD. This strategic misstep sealed
HP-UX's fate.
● Migration to Linux: As the Itanium platform's future became uncertain, many HP-UX
customers began planning migrations to other operating systems, with Linux on x86-64
hardware becoming the most popular choice. HPE itself began to focus more on its x86
server portfolio running Linux and Windows.
● End-of-Support Announcement: In a clear signal of the platform's decline, HPE
announced the official end of standard support for HP-UX and HPE Integrity servers
on December 31, 2025. While there might be options for "mature support" without new
fixes or security updates for a limited period, this marked the end of new development for
the operating system.
HP-UX leaves a legacy as a highly reliable and secure enterprise OS, but its history ultimately
serves as a cautionary tale about the risks of a proprietary, hardware-specific operating system
in a world that has overwhelmingly embraced open-source and commodity hardware.
● Pros:
○ High Availability: With its clustering solution, HPE Serviceguard, HP-UX was
designed for minimal downtime and quick failover.
○ Security: It was a pioneer in security, offering ACLs and other robust security
features for protecting critical data.
○ Proven Reliability: The OS has a long history of powering mission-critical
environments in industries like telecommunications and finance.
● Cons:
○ Hardware Dependencies: HP-UX is tied to HPE hardware, particularly the
now-discontinued Itanium architecture. This has created a path toward
obsolescence.
○ High Cost: Like AIX, the total cost of ownership is very high, making it difficult to
compete with more affordable x86/Linux solutions.
○ End-of-Life: HPE has announced the end of life for HP-UX on December 31,
2025, which is the most significant disadvantage.
● HP-UX was once a dominant force in enterprise computing, running large databases
and other demanding applications.
● However, due to its reliance on the Itanium architecture and HPE's official end-of-life
announcement, HP-UX is now considered a legacy system.
● Organizations still running it are in the process of migrating to other platforms,
predominantly Linux, or are using emulation software to keep their critical applications
running on modern hardware.
Feature Point AIX (Advanced Interactive HP-UX (Hewlett Packard
eXecutive) Unix)
Conclusion: We have learnt about different types of OS like FreeRTOS, Zephyr and all. We have seen
different versions of the RTOS and what changes were made in them in each of the versions.