- PeterMoulding.com
- Author
- Trainer
- Speaker
- Business Coach
- How to write a How To book
- PHP Courses
- Speaking
- Web Architect
- Australia
- Books
- Authors
- Akkana Peck
- Alex Berenson
- Andrew Nugent
- Ben Sanders
- Brock Clarke
- Chris Simms
- David Mercer
- Dianna Mullet
- Don Winslow
- Dori Smith
- Harlan Coben
- Jack McDevitt
- James Wines
- Jerry Yudelson
- John Grisham
- Kevin Mullet
- L. E. Modesitt Jr.
- Laurell K. Hamilton
- Marshall Karp
- Martina Cole
- Michael Marshall Smith
- Michel Roux Jr
- Nadia Sawalha
- Philip Pullman
- Raymond Khoury
- Richard North Patterson
- Robert Masello
- Sally Roth
- Sarah Langan
- Stella Rimington
- Stephen Booth
- Stephen King
- Stephen Leather
- T.C. Boyle
- Tom Negrino
- Tony Hillerman
- Urban Waite
- Val McDermid
- Valerio Massimo Manfredi
- Beginning GIMP
- Beginning Visual C++
- Culturalism
- Fiction
- A Drink Before The War
- A Talent for War
- Bag of Bones
- Blood and Ice
- Burn
- Dark Lady
- Dead Line
- Eclipse
- Empress of Eternity
- Exley
- Flipping Out
- Just One Look
- Nightfall
- Pet Sematary
- Savage Moon
- Skinwalkers
- Starvation Lake
- The Fallen
- The Gardens of the Dead
- The Jump
- The Last Templar
- The Mermaids Singing
- The Midnight Mayor
- The Secret Soldier
- The Summons
- The Terror of Living
- The Testament
- The Tower
- Under the Dome
- Virus
- AJAX and PHP
- Aging with Grace
- Food books
- Green Architecture
- Life Is So Good
- SQL: The Complete Reference
- The Backyard Bird Lover's Ultimate How-to Guide
- The Garden Gurus
- Authors
- Sustainability
- -18 hours left to decide the future of Australia
- Campbells vegetable stock or Massel vegetable stock?
- Carbon Sequestration
- Carbon tax for Australia is a fraud
- Copenhagen will fail
- Cost of living in Australia
- Dick Smith jumps on the population bandwagon
- Dry Run: Preventing the Next Urban Water Crisis
- Energy Saving Lights
- Garlic
- How many people can live in Australia?
- Its obsolete, throw it out!
- Julia Gillard offers 9.9 billion dollars bribe to Rob Oakeshott
- Laundry detergent
- Petrol or Diesel?
- Reflective foil batts kill
- RoHS
- Sea level to rise 3mm due to climate change
- Solar power
- Spring again in Sydney
- Sustainable fuels
- The CRUD Tax is back
- The people who make building regulations do not own houses
- Water efficiency
- Which insulation is safer, foil or wool?
- Will Australia reduce greenhouse gas emissions?
- Technology
- Android or Blackberry or iPhone or a flip phone?
- Apple versus Google 2011
- Cameras
- Cars
- Colour
- Burgundy
- Colour Blindness
- Colour Names
- Dulux colours
- Pantone colours
- Safe Colours
- Seculine ProDisk Mini colour balance card
- What Causes Colour Blindness?
- Hardware
- Batteries for the Digital Age
- Cables
- Cases
- Computer reliability
- Computrace
- Disks
- Astone ISO Gear 481E
- Best SSD for your notebook computer
- Disk block size
- Hitachi disk HDS722020ALA330
- LaCie USB 2.0 250 GB mobile hard drive design by F.A. Porsche
- SMART disk
- Samsung 2 TB HD204UI quiet low power disk for mass storage
- Seagate and Samsung merge disk business
- Select the right disk for your RAID array
- USB disk speed
- Western Digital WD20EARX 2 GB SATA 3 disk
- How long should computer hardware last?
- Keyboards
- Mainframe
- Memory cards
- Monitors
- Netbooks, notebooks, tablets, and xPads
- Network Attached Storage
- OLED Displays
- PC's are a thing of the past
- Printers
- Quiet
- Samsung Galaxy S
- Speed
- Television
- Tools
- USB
- Worst computer movies
- Xserve is dead. What next?
- Your backup will not work
- Z68 motherboards
- iPad or Acer Aspire One?
- IQ
- LG Intello Washing Machine
- Lack of a challenge
- Networks
- 802.11n wireless networking
- D-Link DIR-655 wireless router
- D-Link DWA-160 Xtreme N dual band USB adapter
- D-Link DWA-556 Xtreme N PCI Express desktop adapter
- MIMO
- NBN spends another $12 billion of our tax money on nothing
- National Broadband Network
- Netgear wireless modem router DGND3300 with 300 Mbps 802.11n
- Refrigerator kills wireless broadband
- Small Wireless Network
- TP-LINK TL-SG10005D 5 port gigabit switch
- TP-Link TL-WR1043N wireless N gigabit router
- Telstra Pre-paid Mobile Wi-Fi
- Where are the router plus proxy server combinations?
- Open Source documentation
- Software
- 7-zip
- Accounting
- Asterisk
- Audacity
- Backup software
- Bloat only in Windows
- CAD
- CDex
- Disk imaging software for copying and backup
- Exact Audio Copy
- Filezilla
- Firefox
- Java
- LibreOffice or OpenOffice?
- Linux
- 1 in 5 servers will ship with Linux
- Android phones outsell iPhone
- Another Move to Linux
- CentOS 5.5 installation on SSD and RAID 5
- Debian
- Debian 5.0.5 AMD64 installation
- Debian 5.06 installation
- Fedora
- Fedora or Ubuntu?
- Gnome or KDE?
- K9copy
- Linux 2.6.38
- Linux Gnome login settings lost
- Linux Mint
- Linux RAID, a rant
- Linux Speed
- Linux Time
- Linux reliability as demonstrated by Ubuntu 10.10
- Linux reliability as demonstrated by Ubuntu 11.4
- Linux still a struggle in 2011
- Linux workstation disk RAID 1
- Linux, NT, Windows, and SETI
- Linux, three years of progress
- London Stock Exchange switches to Linux
- Mandrake Linux 9.2
- The partition is misaligned by 48128 bytes - warning from Linux RAID
- Ubuntu
- How to fix the scroll bars in Ubuntu 11.4 Gnome
- Kubuntu 10.10 alternate installation on desktop with RAID 1
- POWbuntu
- Ubuntu 10.10 after 6 months use
- Ubuntu 10.10 alternate installation
- Ubuntu 10.10 desktop RAID 1
- Ubuntu 10.10 desktop RAID 5
- Ubuntu 10.10 desktop install on a netbook
- Ubuntu 10.10 desktop installation
- Ubuntu 10.10 netbook install on a netbook
- Ubuntu 10.10 server AMD64
- Ubuntu 10.10 upgrade to version 11.4 beta 2
- Ubuntu 10.4
- Ubuntu 11.10
- Ubuntu 11.10 first upgrade
- Ubuntu 11.4 after one month use
- Ubuntu 12.04 beta1 desktop amd64
- Ubuntu One
- Ubuntu by Microsoft?
- Ubuntu desktop upgrade 10.4 to 10.10 failed because I did not check the media
- Ubuntu strikes again
- Upgrade Ubuntu to Linux Mint 12 LDXE for extra speed
- Yes, use Linux but not that distribution!
- Nero
- OpenOffice
- OpenOffice is now Apache Office
- Project management
- Scribus
- Software for Windows and Linux
- Text editors
- Time
- Todo applications
- Tomboy notes
- Top text editors
- Version control
- VideoLAN VLC media player
- Visio
- Webmin
- Webmin installation on CentOS for Web development
- Webmin installation on Ubuntu
- What is the most popular open source software today?
- Windows
- Another Windows person goes Linux
- BAD_POOL_CALLER
- Cygwin
- Microsoft Malicious Software Removal Tool cannot find a common virus
- One of the developers of Windows XP is criminally insane
- There are unused icons on your desktop
- W32time
- Which Windows version?
- Windows 7 Home Premium
- Windows XP Stop 0x0000007B during installation
- Windows XP is a disaster
- Windows processes
- XML
- Zip, bzip, gzip, or 7zip?
- configFree
- Technology Succession Planning
- VoIP
- Web Sites
- Drupal
- Do Drupal themes have to use the GPL?
- Drupal 7
- A better search facility for Drupal
- Drupal - performance or flexibility
- Drupal 7 Fields are hard to fix
- Drupal 7 new features
- Drupal 7 ships on January 5
- Drupal 7.14
- Drupal 7.4 hits PeterMoulding.com
- Drupal function sequence
- The evolution of a module
- Undefined index: headers in DefaultMailSystem->mail() (line 54 of /modules/system/system.mail.inc).
- Undefined index: to in DefaultMailSystem->mail() (line 83 of /modules/system/system.mail.inc).
- implode(): Invalid arguments passed in DefaultMailSystem->format() (line 23 of /modules/system/system.mail.inc).
- Drupal 8
- Drupal Code Load Cut
- Drupal How To
- Drupal Modules
- Backup and Migrate
- Browscap
- CKEditor with Drupal WYSIWYG
- Captcha
- Cel
- Colorbox
- Content Construction Kit
- Content type
- Devel module for Drupal
- Drupal Rules as an automation language
- Drupal Spam add-on module
- Form alter to node
- IMCE
- IMCE Wysiwyg bridge
- ImageAPI
- Jdog
- Lightbox2
- Module variable
- Node Gallery Access
- Node_Gallery
- Path
- Path redirect
- Pathauto
- Pet
- Search
- Service links
- Session Variable
- Statistics
- Taxonomy
- Token
- Token ex
- Transliteration
- Trigger
- Watch
- Other modules
- Drupal Training
- Drupal access controls need a major rewrite
- Drupal coding tricks
- Drupal performance
- Drupal themes for the future
- Drupal.org colours
- Import existing data into Drupal
- Multiple Web sites made easy using Drupal multisite and the right start
- drupal_lookup_path()
- Adobe PDF
- Apache
- Apache Mahout
- Audi.com
- Bleet
- CSS Strikes Again
- CSS or xCSS
- Can you believe Facebook or email?
- Content Management Systems
- Databases
- Facebook scam
- Font
- Fonts
- HTML
- Install Apache, MySQL, and PHP 5 in Ubuntu 11.4 using the Ubuntu Software Centre
- Language Codes
- Marketing
- Memcache
- Nginx
- Open source development hits another roadblock
- Oscars
- PHP
- SPDY
- Search software
- Techoni.com.au
- Theme themes
- Things to hate on Web sites
- U.S. Patent No. 6,985,875
- Virtual Private Server
- Visible Improvement
- Web 4.0
- Web browser usage
- Web browsers
- Web site development
- Bluefish
- Crying over spilt code
- Eclipse and PHP
- Getting a Git client, a story of ancient technology and pain
- HTTrack
- MVC
- Netbeans
- PHP or ..., CakePHP/Symfony/ZF versus ...
- Programming
- Superfish
- Web browser emulators for testing your Web site
- Web development frameworks
- Web site books
- Web site development on your own computer
- Webmin or phpMyAdmin or cPanel for creating databases?
- aiki framework
- jQuery
- Views development - Learn Fields first
- Views development - Learn Actions and Rules
- jQuery .each()
- jQuery .has()
- jQuery .is()
- jQuery and Firefox Firebug
- jQuery children
- jQuery for people not using Drupal - Installation and getting started
- jQuery hover
- jQuery hover de-duplication example
- jQuery or CSS?
- jQuery performance
- jQuery tests
- Web site hosting
- Westpac Web site still broken after two years and ten months
- Wordpress wins another CMS survey
- Drupal
Sun Ultrasparc T2
Submitted by Peter on Tue, 2007-08-07 00:00
The Sun Ultrasparc T2 puts pressure on IBM, Intel and AMD to introduce more cores per chip and more threads within each core or to drop prices. Sun have their UltraSPARC T2 in mass production and Web server owners will benefit no matter what price Sun put on complete systems.
Multiprocessing
The Sun Ultrasparc T2 is a step forward in multiple processing chip design and I will run through a quick history to show you why the T2 beats a Pentium Dual Core.
The first computer chips did one thing at a time which always limited their speed to their clock speed and clock speeds are something that recently hit a natural limit. When you speed up the clock on a computer, you use more electricity until you can switch to thinner conducting lines on the silicon surface. Manufacturers are currently at a limit where the lines on the silicon are so thin that they are unreliable and they cannot be made thinner without switching from light based etching to xray based etching, another technology that is not yet working.
If you cannot run your chip faster, you can make it do two things at the same time. Early computers passed graphics processing out to a graphics chip. The next step was to pass slow floating point calculations out to a separate floating point coprocessor. The floating point coprocessor was moved onto the same chip when there was enough space but the coprocessor operated separately because it operated on a completely different time scale.
Eventually computer processors were full of little coprocessors doing bits of the job. Pentiums have 11, 14, or more little processors performing individual parts of the processing workload. Some Pentiums, and the AMD equivalent, have multiple copies of some little bits so several little bits can be processed in parallel. At one stage AMD processors trailed Intel's processors by a little bit but raced ahead in floating point calculations because AMD had designed a far better floating point component on their processor.
Multiple cores were the next step. Take your current processing core with multiple processing components and replicate the core several times to help process several programs in parallel. The Sun Ultrasparc T2 has 8 cores which puts the T2 ahead of the fastest Pentium dual and quad cores. But the T2 has more.
Multiple Threads
The T2 processes 8 threads in each core. A thread is something that was used in mainframe computers way back when computers were carved out of wood. Well, it was a long time ago.
What is a thread? Less than a program but enough for a Web page.
Your Web site uses Apache to control the processing. If you use IIS or some other program, switch to Apache. Apache can run each Web page request as a separate task, which is effectively a separate copy of a large chunk of Apache. If one task fails, nothing else fails because they are isolated. Each task can occupy a core.
In Apache thread processing, only a small part of the processing is duplicated for each thread. Each Apache thread can process one Web page provided all threads share similar characteristics. If one thread fails, all similar threads fail. An Apache thread equates to the thread processing in the T2.
If you use task style processing where everything is totally separate, the T2 would work like an 8 core processor and stop there. When you have threading, the T2 acts almost like a 64 core chip because every thread processes a different bit of code.
To use the multiple cores of the T2 or any other multiple core chip, you need only basic code changes. To use the multiple thread feature, you need code that understands how the hardware threads work and can use them to maximum advantage.
Apache version 2 lets you easily replace the internal parts of Apache that handle tasks and threads which means you can easily tune Apache to use the 64 threads of the T2 processor. If you are running any other sort of processing, you may be processing 8 Web pages in 8 cores instead of 64 Web pages in 64 threads.
When 8 is 2
The Sun Ultrasparc T2 has 8 threads per core which might lead you to think the 8 cores could process 64 threads at the same time. In fact the T2 starts only 2 new threads per core per clock cycle because the threads work in part like the components I mentioned earlier. In Apache style threads the T2 only processes 16 threads across the 8 cores.
The difference occurs because the 8 threads in a core are of different types. The T2 starts 2 threads and directs them through threads based on the type of processing. Each thread performs a different type of processing and you really can only get 2 threads running in parallel because a Web page process has to go through several threads across several clock cycles. Those 8 threads by 8 cores give you 16 Apache style threads; 16 Web pages, not 64 Web pages.
Now that you are thinking 16 instead of 64, remember that one of the threads is cryptography running up to 10 times faster than dedicated hardware. If your 16 Web pages use SSL, you might get the whole 16 pages through many times faster than an equivalent system from IBM, Intel, or AMD.
A Sun T2 thread is half way between the full thread processing of competing systems and the individual component processing of the competitors but those multiple cryptography threads makes the T2 a real advantage for sites using a lot of SSL.
Lower Power Consumption
Sun's T2 provides double the processing power compared to Sun's T1, which means more power without burning more carbon to generate electricity. Sun's T2 gives you more processing power per watt of electricity consumed compared to AMD's Opteron.
The power consumption of the processor is only a small part of the overall power consumption but the processor is often the hottest part which means lots of power goes into air conditioning to cool the computer. If you live in a warm or hot climate where you have to cool the computers all year round then the cost of air conditioning is significant. Halving the heat output for the same processing power is a significant saving.
2 * 10Gb
There are two Ethernet connections built into the T2 and both are 10Gb. Not many people can use 10Gb Ethernet connections but for those who can, the two connections make sense. you could have a 10Gb Ethernet connection to the Internet and a similar speed connection to an internal network.
Now we are looking at systems that bridge the intranet and Ethernet. You could use the T2 to check your network traffic for SPAM, viruses, and to cache the requests. The T2 could run your proxy server, antivirus software, DNS, email server, and a whole lot of other things that need one foot in the Internet and the other in your Intranet.
You could also use the T2 as a Web server with one connection to the Internet and the other network connection to a database although the result would be a waste if you cannot optimise your database connection to use the network. You have to make your database requests maximise selectivity instead of reading more than you need then selecting a smaller range of data within your program. Some databases do not provide the required selectivity to use a network connection. Test carefully with real database examples to find if your code and database will be fast enough across a network connection.
20.4GHz
The T2 runs at 1.4 GHz which sounds slow next to 3GHz processors. The T2 has 8 processors which immediately gives you the equivalent of 10.2GHz if you can use the whole 8 cores and Apache can use the whole 8 cores. The two new threads per clock cycle per core gives you double the processing speed for Web site style processing which gives you the equivalent of a 20.4GHz processor.
When you multiply in the cryptography speeding up SSL, you could get the equivalent of 200GHz from other processors. Imagine replacing 60 single core Pentiums with one T2.
Conclusions
If you use the Sun Ultrasparc T2, you need the right software to use every single thread. Look at Apache 2 under the latest Solaris and test every part of your Web site on the T2, including the database.
The T2 puts pressure on IBM, Intel and AMD to introduce more cores per chip and more threads within each core. If you cannot make use of the T2, you will be able to use the eventual lower prices for competing machines.








