Letters to the Editor
Just a short note to congratulate you and the staff on Linux Journal. I've subscribed from issue 1 and have enjoyed watching the magazine grow and mature much like Linux itself. Keep up the good work.
On to the suggestion—I was wondering if you plan to run an article on the Linux SPARC port with news and views from the developers. With a number of elderly SPARCs hanging around I'm looking forward to the possibility of running Linux on them.
Progress on that front has been amazingly rapid lately, and we expect to run an article on the topic some time in the near future. While development continues, Linux/SPARC currently runs both native binaries and SunOS 4 binaries, including X-based ones. For example, the SunOS Netscape runs under Linux/SPARC. It can netboot with the recent NFS root support in Linux. Debian/SPARC and Red Hat/SPARC are both underway.
I recently purchased the book Linux Unleashed and transferred the files on the CD-ROM to a SyQuest 270 MB cartridge. Linux (Slackware version 1.2.1) is now booting and running fine on my computer.
Since 1982, I've done hundreds of Xenix and Unix installations. The only drawbacks I see to Linux are as follows:
1. The termcap file is extremely sparse, not even including the setup for a Wyse-60 terminal!
2. The printcap file is also extremely sparse, not supporting either HPGL or PostScript or Epson dot matrix printers!
3. SCO binaries cannot be run!
My question to you is: Is there a newer version of Linux I could download or purchase that rectifies each of these problems? Unfortunately, I don't have the time to experiment or develop my own version; I need one already prepared that can run SCO binaries and has a comprehensive termcap and printcap.
Thanks for your help. —Ronald W SatzSystems Engineer
The version you have purchased is very old; Slackware has gone through two major revisions since. Most Linux distributions now include the standard BSD termcap and terminfo files, which do include support for the Wyse-60. Printing support under Linux is much richer than your question suggests. There is a document called the Printing HOWTO available as part of the Linux Documentation Project. Newer distributions include the LDP documents in electronic form, and several vendors sell the documents in printed form, as well. Finally, support for SCO binaries (through the “iBCS2” package) is now a part of every major Linux distribution. While it doesn't run every SCO binary, it does run the great majority. One caution: support for SCO OpenServer 5 has been added in only development versions of the iBCS2 package, and that support won't be added to distributions for a few months.
In his “The Quintessential Linux Benchmark” Wim van Dorst writes: “The table also shows that the Pentium processor doesn't have the expected extrapolated multiplication factor. This is due to the fact that the specific busy-loop algorithm is not optimized for the parallelism of the Pentium processor.”
But won't every everybody ask, “What if it were optimized?” and “How would it be optimized?”
I have the answer: the optimization for the Pentium is to put the decrement and branch instructions apart by inserting a nop instruction between them. This allows the branch to be predicted correctly, and the BogoMips number becomes clock * 1.00 +/- 0.003 (based on two measurements on Pentium 75 and 90).
One of the reasons it is not done in the distribution code is the idea to have one code per architecture (instruction set), and another reason is quite obvious as well—the loop code is only used for timing, and the slower each loop iteration, the less the energy consumption by the processor. You don't want to fry eggs on your chip while measuring BogoMips, do you?
--Leonid A. Broukhis email@example.com
I love LJ and finally got a subscription a few months ago because I missed out on a month at the news stand. But, there is just one little thing...
LJ is too short. I get it and two days later I have read it cover to cover twice. Do you think you could make LJ a little bit longer so I don't read it up so quickly? *smile*
--Joel M. Lindell firstname.lastname@example.org
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- Stunnel Security for Oracle
- SourceClear Open
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- SUSE LLC's SUSE Manager
- My +1 Sword of Productivity
- Managing Linux Using Puppet
- Google's SwiftShader Released
- Non-Linux FOSS: Caffeine!
- Parsing an RSS News Feed with a Bash Script
- Doing for User Space What We Did for Kernel Space
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide