Low End Mac Reader Specials
TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
Introduction to Unix: The Buzz Words
- 2001.02.20
I am sure people are getting tired of hearing about multithreading, symmetrical multiprocessing, memory management, and preemptive multitasking. How is it really going to affect you, the Macintosh user, under Mac OS X - when you just want to read Low End Mac, check your email, and write a document.
Multithreading
O.K., what's the deal on Multithreading. What is a thread anyway?
Threads are instructions that are executed within the operating system or the application you are running.
In Blame it on Mac OS, I yelled about how the Mac OS would lock up when loading an MP3 file on my somewhat slow server. That's because of a threading and the Mac OS being single threaded. I had two tasks going on at once. I was typing, and my MP3 file was loading. They are both sharing the same thread, and both trying to be executed down the same pipe. It's like two people trying drink from the same straw at the same time.
In a multithreaded environment, when my next MP3 was ready to be loaded, a separate thread would be spawned and would be its own independent entity.
What will really restrict you in a multithreaded environment is how much memory you have. More memory means each thread can have some more space to work and accomplish it's task quicker.
Symmetrical Multiprocessing
With the Mac OS, multiprocessing is done asymmetrically. All your tasks are done on one processor, and when that one has hit it's maximum capacity the operating system moves the task over to the other processor. When multiprocessing is done symmetrically all processors are acting as one, sharing the load.
When using a Symmetrical Multiprocessing operating system, applications don't know that there are two processors instead of one. So if you get a really power hungry application, it's going to go after everything it can, which means that it's going to be using both CPU's resources. With both processors working in conjunction with each other, you will notice a significant performance boost, because it will be getting the task done twice as quick.
Memory Management
This is one of the biggest reasons why system administrators use Unix. We all know what happens when one of your applications in Mac OS crashes: You have about a 50/50 chance of not having to reboot. What it comes down to is, "Did my crashed program manage to invade another one of programs personal space?"
On a Unix system, each application gets its own block of memory and is confined to the particular area of memory that it's assigned. If the application decides to crash, it doesn't bleed over into the rest of your system. I would really hate to have to tell my boss, "We have to reboot the system, because Jane's server based Word processor decided to crash."
Having memory management does require some more horsepower when it comes to multitasking, because the operating system has to seek out and allocate memory to an application on an as needed basis. This can be very bad when something called a memory leak occurs, where an application has not returned it's discarded memory and keeps asking for more. Your system will then slow down, because you don't have as much memory available because that one particular program is hogging it all because of a memory leak.
Preemptive Multitasking
Mac OS currently uses cooperative multitasking, which is when the current application you are working in has control over your CPU - and any applications you have sitting in the background take a back seat waiting for their turn to be allowed to do something. Most applications don't take all of your CPU resources, so your background applications are still able to function, but they are handicapped, because they are not getting the resources that they want.
An example of this is when I am downloading something in Internet Explorer on my Mac and switch to another application. The second I do that, my download speed drops quite significantly. That's because the active application has just taken control of my CPU, and it decides to throw Internet Explorer a bone or two when it's not doing anything too intense.
In a Unix Preemptive Multitasking environment, the operating system (or you) decides what gets to use what portion of your overall resources. If I am downloading from Internet Explorer and decide to launch my MP3 player, Internet Explorer still gets to keep all it's resources even though I am not actively in it.
Applications are also given priorities, so a system specific task would take priority over my word processor. If the system needs to display an alert, it would take priority over anything else that is happening.
One of the perks of priorities is that you can manually set priorities over anything you want. If I have 30 people trying to print to a printer on my Unix system, I can have my print jobs take priority over everyone else's. Even though they sent in their request 10 minutes before I even hit the print button, I can tell Unix that I take priority over all others.
Should you be sharing applications from your system, you can cap the users accessing the application to how much of your resources you want them to use. You can also cap them on a user or group level.
If Jim only uses a word processor on my system to open small documents, I will only allow him 2% of my resources. But if Mary opens very large documents, I will give her up to 5% of my resources.
Setting priorities and resources manually can get very complex, so I only recommend doing so if you are running a Unix system as a server and need to do load balancing. I will say that it can be a lot of fun, especially when it comes to you getting your print jobs out before everyone else.
Links for the Day
- Mac of the Day: 17" MacBook Pro Core Duo, Apr. 2006 - The top-end MacBook Pro includes a 1680 x 1050, 2.16 GHz Core Duo CPU, and supports Apple 30" Cinema Display.
- Group of the Day: G4 List is for those using Power Mac G4s or G4 upgrades.
- Support Low End Mac
Recent Content
- Pismo WiFi Networking Issue Finally Solved?, Charles W. Moore, Miscellaneous Ramblings, 11.24. It turns out the problems wasn't the Pismo, the Buffalo WiFi card, or Mac OS X 10.4. It was the Wireless G router - Linksys to the rescue!
- Mini VGA to S-video Adapter a No Go for eMacs, Dan Bashur, Apple, Tech, and Gaming, 11.24. You might think that Apple's Mini VGA S-video adapter is a cheap way to connect your eMac or G4 iMac to your TV. You would be wrong.
- Google Calendar with iPhone or iTouch Is Great for Scheduling, John Hatchett, Recycled Computing, 11.24. Web-based Google Calendar allows access and updates from any computing platform, including Mac, Windows, Linux, and iPhone OS.
- Why Spaces is My Favorite Leopard (and Snow Leopard) Feature, Charles W. Moore, Miscellaneous Ramblings, 11.23. Spaces, a feature introduced with OS X 10.5, is like having several monitors on your Mac without the cost and space of using multiple displays.
- i5 iMac Benchmarked, Mac mini 'Shouldn't Be Overlooked', Twitter Client for Classic Mac OS, and More, Mac News Review, 11.20. Also why Apple leaves the low end to others, 10.6.2 fixes video playback problem in 27" iMac, 3D Leopard and Snow Leopard performance, and more.
- Apple's Tablet an End Run Beyond Netbooks, Frank Fox, Stop the Noiz, 11.20. Whatever Apple has planned will leverage existing technologies while going beyond what its competitors can offer.
- Apple #4 in Reliability, Apple Tablet a Gadget for All?, HP's i7 Notebook Outdoes Mac Rivals, and More, The 'Book Review, 11.20. Also Flash 10.1 improves video on Hackintosh netbooks, thin-and-light notebooks impress, Windows XP finally on the way out, and more.
- NASA Chemical Sensor for iPhone, Smartphone Death Match, iPhone Earrings, and More, Ian R Campbell, 11.20. Also mobile phone dangers, new apps, GPS solution for iPod touch, new iPod and iPhone cases, and more.
- More links in our archive.
Recent Deals
- Best G4 iMac Deals, 11.24. Used 15" 700 MHz CD-RW, $150; 800 MHz Combo, $229; 1 GHz, $289; 17" 1.25 GHz, $200; 20" 1.25 GHz, $509.
- Best MacBook Air Deals, 11.24. Used from $899; refurb from $1,099; new 1.6 GHz/120 HD, $1,150 after rebate; 1.8/64 SSD, $1,150 a/r; 1.86/128 SSD, $1,350 a/r; 2.13/128 SSD, $1,694 a/r.
- Best PowerBook G3 Deals, 11.24. Used 233 MHz WallStreet, $75; 266 MHz, $160; 400 MHz Lombard, $199; 400 MHz Pismo, $289; 500 MHz, $350.
- Best 12" PowerBook G4 Deals, 11.23. Used 867 MHz SuperDrive, $348; 1 GHz Combo, $379; SD, $519; 1.33 GHz, $529; 1.5 GHz Combo, $549; SuperDrive, $609.
- Best Mac Pro Deals, 11.23. Used 2.66 GHz 4-core, $1,300; 3.0 4-core. $1,919; refurb 2.66 4-core Nehalem, $2,149; 2.93, $2,549; 2.93 8-core, $4,999; new 2.26 8-core, $2,290.
- Best Time Capsule and AirPort Deals, 11.23. Used 802.11g AirPort Extreme, $49; 500 GB Time Capsule, $150; new, $190; 1 TB dual-band, $280; 2 TB, $469; 802.11n AirPort Extreme, $170.
- Best eMac Deals, 11.18. Used 1 GHz Combo, $100; SuperDrive, $269; 1.25 GHz Combo, $119; SD, $319; 1.42 GHz Combo, $289; SD, $498.
- Best Mac OS X 10.6 and Mac Box Set Deals, 11.18. "Snow Leopard", single user, $25; 5 users, $45; Mac Box Set, single user, $139; 5 users, $180; Server, $414. Shipping included.
- Best Xserve Deals, 11.18. Used 1 GHz dual G4, $649; 2.3 dual G5, $795; 3.0 4-core Xeon, $1,899; refurb 2.26 4-core, $2,499; new, $2,888; refurb 8-core, $2,999; new, $3,449; more.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
B&H
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
Advertise
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com

