![]() |
![]() |
![]() |
||||||||||||||||||||||||||||||||
![]() |
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
Live Knoppix Is Very Nice Desktop LinuxCheat Knoppix 4 to Improve PerformancePart 2. Knoppix Performance Improvement Cheats
Mike Angelo -- 11 Janaury 2006 (C) -- Page 1
Today's tutorial builds on what you learned in Part 1. Cheat Code Basics and the ALSA Cheat Code. In Part 1, we covered Knoppix cheat code basics and applied those basics to forcing Knoppix to use the ALSA sound drivers rather than the default OSS sound drivers. Coming after Part 2, are Part 3. Advanced Cheating and Part 4. Computer on a Disc and a USB Key. You will learn about more Knoppix cheat codes and how to chain several cheat codes together in Part 3. And then in Part 4, you will learn how to put together all the stuff you learned in Parts 1 through 4 to make a very portable Live Knoppix setup. It's really very slick. If you already have not done so, please read Part 1. Cheat Code Basics and the ALSA Cheat Code. Doing so will get you up to speed on the basics of using Knoppix cheat codes. PreviewThe performance problem was addressed by using two Knoppix cheat codes. The first performance cheat, tohd=/dev/sda1, let's you copy the Knoppix live Linux CD onto a USB key. We used a 4-GB Kingston DataTraveler Elite Flash drive (USB key) for that. The second performance cheat, fromhd=/dev/sda1, let's you use that USB key when running the Knoppix live Linux CD. Interestingly, this cheat also releases the CD drive too. So, you might want to do this performance cheat just to free the CD drive. The details of using these performance cheats are discussed further on in this article. Incidentally, if you like you can chain several cheats at the boot: prompt. For example you can direct Knoppix to do both the ASLA cheat and the performance cheat. That's covered in Part 3. Advanced Cheating. You can setup the USB key you use for the performance cheats to store your configuration files, data files, and so forth. Doing that makes your Live Knoppix Linux very portable. Make sure you read that section. It's covered in Part 4. Computer on a Disc and a USB Key. The Performance CheatsBy default, the live CD/DVD Knoppix system uses its files on the CD/DVD to install the Linux kernel in a ram disk. It also uses the live CD/DVD for other files needed to run the Knoppix version of the Linux operating system. And Knoppix uses the live CD/DVD for the applications you use to do your work or to play. That also locks the CD/DVD drive in which the Knoppix live CD/DVD is placed. If you have only one CD/DVD drive on your computer you are not able use other CDs or DVDs during Live Knoppix sessions. If you have a computer system with a fast CPU, lots of RAM (hard memory), and a fast CD/DVD drive, you might not notice how much time it takes for the system to repeatedly look to the Knoppix live CD/DVD. The system looks to the live CD/DVD in order to grab OS and application files, as it needs them -- in order to execute them or to use their data. If you run the live CD/DVD version of Knoppix on a less well-endowed system, you likely will experience and notice slow performance. Even on a faster machine where you might not notice slower performance, those relatively slow CD/DVD reads are affecting system performance. That's because Knoppix is frequently grabbing files and information from the relatively slow CD/DVD drive. One way to perk the performance of your live CD/DVD version of Knoppix Linux is to move the CD image to a USB Flash drive (USB Key). Luckily, there are some nice Knoppix cheats to do that. A side benefit of moving the CD image to a USB Flash drive (USB Key) is that it also frees the CD/DVD drive in which you placed the Live Knoppix CD or DVD. You might be able to copy the live CD/DVD image to your hard drive or to RAM instead of a USB key. However, the focus of this tutorial is on using a USB key (USB Flash drive). Nevertheless, the general methodology is the same whether you copy the live Linux CD or DVD to a USB key, to a hard drive, or to RAM. There are special cheat codes copying the live Linux CD or DVD to a hard drive and to RAM. Use a USB Flash Drive (USB Key) to Improve PerformanceThe USB Key, performance-cheat discussion is constrained to the live CD only. That's because the Knoppix live DVD has about 4 gigabytes of files -- too much for a USB key at this time. If you have ample room on your hard drive or enough RAM, you could do a similar cheat to copy the live CD or DVD image to a hard drive or to RAM. However, you would use different cheat-code strings for the hard drive or RAM cheats. You might be able to squeeze the Knoppix live DVD files onto a 4-GB USB key. However, even if you can do that you likely would not have enough free space left on the USB key for your configuration and data files too. Thus, this USB Key, performance-cheat discussion is constrained to the live CD only. One reason for copying the live CD files to a USB key is that access to files is much faster with a USB Key than it is with a CD drive. Kingston rates its 4-GB DataTraveler Elite USB key at a read speed of up to 24-MB/second and a write speed of up to 14-MB/second. Compare that to a 40X CD drive, which has a maximum read speed of only 6-MB/second. That makes the DataTraveler Elite read speed about 4 times faster than a 40X CD drive. The performance advantage is even more pronounced with the old HP OmniBook laptop. Its CD drive has only a 6X read speed -- 0.9-MB/second. That makes the DataTraveler Elite about 26 times faster than the CD drive on the OmniBook. What if you have a more powerful and better-endowed computer? You still might want to use a performance cheat such as the one discussed here to copy the CD/DVD image to RAM, a hard drive, or a USB key. You might not be able to notice the performance improvement under a light load. But, when the load gets heavy, the performance improvements gained by copying the live CD Knoppix to the USB key will make a difference. Copying the live CD files to RAM provides even faster access to the files. However, you need at least a 1-GB RAM to do that. So, copying the live CD files to RAM is not an option with our HP OmniBook 6000 laptop, which has only a 128-MB RAM. Another reason for copying the Knoppix live CD files to a USB Key is that our HP OmniBook 6000 laptop has only a 10-GB hard drive -- and there is not enough free disk space to copy the live CD files to the hard drive. Also, the main reason for using a live CD is that you do not want to install Knoppix and/or Linux on your computer. Nor do you want to put anything on your hard drive while you are using live CD Linux. By using a USB key for this performance cheat you do not have to put anything on your hard drive. However, please see the Hard Drive Use Note in the right sidebar on Page 2. Yet another reason for choosing a USB Key for the performance cheat is so that you can use the Knoppix live CD on several different computers -- and have the same configuration on whatever computer is being used with the Knoppix live CD. For more about that, please see the Knoppix is a portable computer on a disc and USB key section in our article Give the Gift of Knoppix Linux and a Book for Less Than $30 and also the Persistent Knoppix section later on in this article. There is a nice section about performance cheats in Knoppix Hacks under Hack #5. If you go to the Knoppix Hacks Web site, you will find that Hack #5 is the online sample chapter. (Link in the Resources section at the end of this article.
Give the Gift of Knoppix Linux and a Book for Less Than $30 -- Knoppix for Dummies Santa's 2005 Picks for Linux and Windows Computer Gifts
A Glimpse of SUSE Linux 10.0 and Other Things Brewing at Novell A Glimpse of OpenOffice 2.0 -- Now Available for Free Public Downloading Is It Deja Deja Novell All Over Again, Again? -- Ximian/GNOME v SUSE/KDE at Novell
In Pursuit of Good Desktop Linux:
KMail -- One of the Best E-Mail Clients (Editor's Choice) KShowmail Shows Potential -- A KDE Tool to Manage and Read E-Mail
KDE Konqueror Web-Browser and File-Manager: Well-Built, Feature-Robust, and Free (Editor's Choice) Tabbed-Browsing Comes to KDE -- KDE 3.1 Released: Binaries and Source Code Available for Downloading Tabbed-Browsing Coming to KDE's Konqueror Browser
KDE 3.0 Released -- Binaries and Source Code Available for Downloading KDE 2.2 Released -- Binaries and Source Code Available for Downloading
Linux for Microsoft Windows Users: #2 - Getting Started with The Linux MS Windows-Like Desktop Linux for Microsoft Windows Users: #3 - Making an MS Windows-Like Desktop for Red Hat Linux Linux for Microsoft Windows Users: #4-- Getting Started Using the Windows-Like Desktop for Linux
Pogo Linux Altura64 Workstation Is a MozillaQuest Magazine Editor's Choice
AbiWord (MS Word Clone for Linux, MS Windows, & Other Platforms) Networking Articles
Linux Networking for Windows and Desktop People -- Mandrake 9.1 and LinNeighborhood Using LinNeighborhood to Create a Network Neighborhood for Linux
Computer Connections at Home, Office, & School Some Basics for Computing & Networking Novices
Getting Started with Wireless Network Technology
Mandriva 2006 Released to Public -- But Now It's Mandrake + Conectiva + Lycoris Mandrake 10.2 is Mandriva Limited Edition 2005 -- But It's Still Mandrake Linux
Impact of the Mandrake-Conectiva Acquisition on the Linux Landscape MandrakeSoft To Acquire Conectiva -- Overview of the Mandrake-Conectiva Acquisition
Mandrake Linux 10.1 Official - 2.6 Linux kernel Gaël Duval Tells Why Mandrake Linux Is Better Than MS Windows Microsoft PR Does Not Refute Mandrake Linux Better Than Windows Mandrake Linux 9.0, Desktop Magic You Can Use: A First Look
Linux Networking for Windows and Desktop People -- Mandrake 9.1 and LinNeighborhood Gaël Duval and Mike Angelo Discuss Mandrake Business Products and Finances MandrakeSoft Adds MandrakeClustering to Its Business and Enterprise Products Lineup Gaël Duval and Mike Angelo Discuss The HP-Mandrake Computer HP to Ship Desktop PCs with Mandrake 9.1 Linux Pre-Installed - Good News for Mandrake Linux and Fans
Gaël Duval and Mike Angelo Discuss the New Mandrake AMD64 OS Mandrake Linux Corporate Server 2.1 for AMD Opteron Mandrake Linux Shows Profit -- End to Bankruptcy Near
Conectiva, Mandrake, and SuSE Say No SCO in Their Code SCO-Caldera v IBM: Conectiva's Gordon Ho Responds to SCO-Caldera's Linux-Related Allegations
Mozilla 1.3b Browser-Suite Released Netscape 7.02 Browser-Suite Released Mozilla and Netscape JavaScript Bugs Compromise Privacy and Security
Is Netscape Losing the Browser Wars?
Linux for Microsoft Windows Users: #4-- Getting Started Using the Windows-Like Desktop for Linux Linux for Microsoft Windows Users: #2 - Getting Started with The Linux MS Windows-Like Desktop Linux for Microsoft Windows Users: Introduction & Overview
|
|||||||||||||||||||||||||||||||||