Mobile Computing with Linux

This article serves as a buyers' guide for people about to purchase a Linux-capable laptop and points out existing software support for Linux.
Linux Support for Laptop Features

Power management is not really supported under Linux. Based on the Linux Laptop Survey results, a laptop running Linux will typically last for two hours on batteries. Although an APM support package does exist, it only provides the initial hooks into the APM BIOS for power management. At this point the APM support just recognizes when the system returns from sleep mode and updates the internal clock, which is important to keep the system sane. APM applications that display the current battery level and execute the “shutdown” command when the battery runs low are also available. This software may be retrieved from tsx-11:/pub/linux/ packages/laptops/apm.

As mentioned earlier, the SL processor series has SMM features to power manage the processor. However, a portable power management solution that doesn't require SMM support is to halt the processor in the scheduler's idle loop. The x86 asm(hlt) instruction suspends the processor until there is an interrupt from the system (e.g. a key stroke). Linux versions above v1.1.10 implement this simple and effective solution, which does not degrade performance at all. It has the added benefit (even to non-laptop users) of increasing the expected life of your CPU.

PCMCIA provides plug-and-play capabilities to the laptop. Currently support exists for the Intel 82365 adaptor chip, PCMCIA modems (Megahertz, IBM, Intel, AT&T, and others), and ethernet cards (D-Link 650, Linksys, IBM credit card, and 3COM 3c589). The PCMCIA support in Linux is still in its alpha stages and is available from tsx-11:/pub/linux/packages/laptops/pcmcia. PCMCIA support that meets the PCMCIA Unix specification is in the works and you may expect it to be part of the standard Linux distribution by the end of the year.

Future Topics

A future article will discuss operating system implications of mobile computers.

Bibliography

F. Douglis and B. Marsh, Low-Power Disk Management for Mobile Computers, Matsushita Information Technology Lab, 2 Research Way, Third Floor, Princeton, NJ, 1993, MITL-TR-53-93

Fred Douglis and P. Krishnan and Brian Marsh, Thwarting the Power-Hungry Disk, Proceedings of the 1994 Winter USENIX Conference, January 1994, (Also Matsushita Information Technology Lab Technical Report MITL-TR-61-93)

Proceedings of the 1994 Winter USENIX Conference, January 1994

Marc E. Fiuczynski (mef@cs.washington.edu) is a computer science graduate student at the University of Washington in Seattle. His research interests are distributed systems, communications, operating systems, and mobile computing.

______________________

Webcast
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.

Learn More

Sponsored by AMD

White Paper
Red Hat White Paper: Using an Open Source Framework to Catch the Bad Guy

Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6

Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.

Learn more about catching the bad guy in this free white paper.

Learn More

Sponsored by DLT Solutions