/* Partykof - Managing information and Technology */
In this blog, I am summarizing some of my work so far and the issues I'm facing everyday in my work as an IT professional.
You are welcome to follow, comment and share with others. If you want to drop me a private note, send me an e-mail


Monday, July 19, 2010

Populating DIMMs considerations, Order and Ranks

The Nehalem and Westmere platforms offer a wide variety of DIMM configurations. Some of the various DIMM configurations are shown below

Feature
Values
Number of DIMMs 1,2 or 3
Number of DIMMs slots per channel 2 or 3 DIMM Slots
Number of DIMMs populated per channel 1,2 or 3 DIMM per channel
DIMM Frequencies DDR3-800, DDR3-1066, DDR3-1300
 Table 1:  DIMM Configurations

Populating DIMMs within a channel

When populating DIMMs in a three slots per channel configurations, a “fill-farthest” approach is used, meaning, the farthest DIMM from the processor is used first. If a Quad-rank DIMM is used, it should be populated first.
Figure 1:  DIMM Population within a channel

DIMM population in an 18 DIMM slots configuration

CPU1
CPU2
Slot Number
Population Order
Slot Number
Population Order
Channel1
1
G
1
G
2
D
2
D
3
A
3
A
Channel2
4
H
4
H
5
E
5
E
6
B
6
B
Channel3
7
I
7
I
8
F
8
F
9
C
9
C
 Table 2:  DIMM Population in 18 DIMM Slots

Additional population requirements
  1. All DIMMS must be DDR3 DIMMs.
  2. The 5600 series support low voltage DDR3 memory (DDR3L) 1.35V, the 5500 supports only 1.5V, if mixed they will work at 1.5V.
  3. Mixing Registered and Unbuffered DIMMs is not allowed.
  4. The maximum supported speed is defined by the BIOS and not the DIMMs
  5. Mixing different timing DIMMs will force the operation at the slowest DIMM for both processors.
RDIMM Ranks population in a three slots per channel configuration

Configuration Number
Max Speed
DIMM2
DIMM1
DIMM0
1
DDR3-1333
-
-
Single-rank
2
DDR3-1333
-
-
Dual-rank
3
DDR3-1066
-
-
Quad-rank
4
DDR3-1066
-
Single-rank
Single-rank
5
DDR3-1066
-
Single-rank
Dual-rank
6
DDR3-1066
-
Dual-rank
Single-rank
7
DDR3-1066
-
Dual-rank
Dual-rank
8
DDR3-800
-
Single-rank
Quad-rank
9
DDR3-800
-
Dual-rank
Quad-rank
10
DDR3-800
-
Quad-rank
Quad-rank
11
DDR3-800
Single-rank
Single-rank
Single-rank
12
DDR3-800
Single-rank
Single-rank
Dual-rank
13
DDR3-800
Single-rank
Dual-rank
Single-rank
14
DDR3-800
Dual-rank
Single-rank
Single-rank
15
DDR3-800
Single-rank
Dual-rank
Dual-rank
16
DDR3-800
Dual-rank
Single-rank
Dual-rank
17
DDR3-800
Dual-rank
Dual-rank
Single-rank
18
DDR3-800
Dual-rank
Dual-rank
Dual-rank
 Table 3:  DIMM RANKS Population in 3 slots per channel
This concludes all the basic elements we need for configuring the perfect server.

-Partykof

Monday, June 21, 2010

Intel Xeon 5600 (Westmere) family

In the series of posts related to server configuration I reviewed the memory configuration for optimal performance. I figured that a short introduction to the 5600 family would be useful to better understand the considerations that will follow in my next post.   

About the Xeon 5600
Part of Intel Tick-Tock cadence, The Intel Xeon 5500 (Nehalem) was shrink and replaced by Intel Xeon 5600 (Westmere) family, to be followed by Sandy Bride next year which will introduce a new microarchitecture.
The 5600 is based on the new 32nm process used in chip manufacturing and offers better performance at lower power consumption.

The 5500 and 5600 series introduced a new concept in the Xeon family, they integrate a DDR3 memory controller, that allows via 3 channels, a direct connection to a dedicated memory, up to 3 DIMMs per channel. It also includes a link controller that handles the communication with the neighbor processor in what Intel calls QuickPath interconnect (QPI). the QPI allows up to 6.4GT/s in each direction per link.

For virtualization it includes the Extended VT-x, VT-c and the VT-d technologies.
The storage interface include a 6 ports SATA2 with software raid5.

Intel introduced to these processors a new acceleration technology called, Turbo Boost Technology, which automatically allows the processor to run faster then the marked frequency in cretin conditions. The max turbo boost frequency is dependent on the number of active cores within a processor.
 Figure 1: Xeon 5600 DP architecture
The Xeon 5600 platform advantages  
  • Higher clock speeds
  • More cores
  • More cache
  • More memory
  • New instructions
  • Supports Low voltage DDR3 (LDDR3)
The Xeon 5600 is available in the following configurations:
Processor Model
Processor
Base
Frequency
Cores
L3 Cache
Power
Intel ® QPI Speed
Max Turbo Frequency
Number of Threads
X5680
3.33 GHz
6
12MB
130 W
6.4 GT / s
3.6 GHz
12
X5677
3.46 GHz
4
12MB
130 W
6.4 GT / s
3.733 GHz
8
X5670
2.93 GHz
6
12MB
95 W
6.4 GT / s
3.333 GHz
12
X5667
3.066 GHz
4
12MB
95 W
6.4 GT / s
3.466 GHz
8
X5660
2.8 GHz
6
12MB
95 W
6.4 GT / s
3.2 GHz
12
X5650
2.66 GHz
6
12MB
95 W
6.4 GT / s
3.066 GHz
12
L5640
2.26 GHz
6
12MB
60 W
5.86 GT / s
2.666 GHz
12
L5630
2.13 GHz
4
12MB
40 W
5.86 GT / s
2.4 GHz
8
L5609
1.86 GHz
4
12MB
40 W
4.8 GT / s
1.866 GHz
4
E5640
2.66 GHz
4
12MB
80 W
5.86 GT / s
2.933 GHz
8
E5630
2.53 GHz
4
12MB
80 W
5.86 GT / s
2.8 GHz
8
E5620
2.4 GHz
4
12MB
80 W
5.86 GT / s
2.666 GHz
8
Table 1: Xeon 5600 configurations
Notice the interesting low voltage processors that are available in 40 and 60 watt versions. One possible application is to use them in a passively cooled chassis (i.e. without fans). 

Now that we've got the understanding of these basic elements, it is time to put things in to practice. In my next post we'll start configuring the idle server.
 

Monday, June 14, 2010

DIMM Ranks and configuration

Server performance is highly related to its hardware configuration, In order to understand how best to configure the server a deeper understanding of its component is required. In my recent post, Introduction to DDR3 I wrote about the DDR3 technology, the different memory frequencies, 800, 1333, 1600 MHz that are adopted in recent servers CPU technology.

Another important factor to consider when configuring server memory is memory ranks, as populating a system with the wrong memory modules could result in reduction in the total capacity of the server and could create problems in performance. Some servers limit the number of memory ranks, if the number of memory ranks exceeds the specified maximum ranks set by the motherboard chipset; the server may not boot or may not operate reliably.

Memory DIMMs are configured with DRAM chips, each DRAM chip provides either 4bits (i.e x4) or 8bits ( i.e x8) of a 64bit data word. For Error Correction Code (ECC) you need 72bit, therefore 9 chips of x8 are needed to construct a 72bit data word, or 18 chips of x4.

Single-sided and double-sided DIMMs

An ECC DIMM with all nine DRAM chips on one side is called single-sided, and an ECC DIMM with nine DRAM chips on each side is called double-sided ( see Figure 1). A single-sided x8 ECC DIMM and a double-sided x4 ECC DIMM each create a single block of 72bits (64bits plus 8 ECC bits).

Single-rank, dual-rank, and quad-rank DIMMs 

DIMMs are also classified to ranks. The definition of a rank is an area or block of 64-bits (72bits for ECC memory). A single-rank ECC DIMM uses all of its DRAM chips to create a single block of 72bits, and all the chips are activated by one chip-select (CS) signal from the memory controller. A dual-rank will require two chip-select signals as it produces two blocks from two sets of chips on the DIMM. The same logic applies to Quad-rank, where you need four CS signals.

Figure 1: 72bit SDRAM DIMMs and corresponding DIMM rank

The first advantage for higher rank DIMM is the greater capacity they can offer per the available DIMM slots on the server’s motherboard. The second advantage is related to latency, where there is a higher probability for the memory controller to relocate pending memory pages.
The number of ranks per channel also effects the performance, with an odd number of ranks per channel there is performance disadvantage of realistically 2-3%. Since there 3 channels per CPU, the use dual-rank DIMMS will always result in an even number of ranks, which is another good reason why to use it.

Saturday, June 12, 2010

Introduction to DDR3

Recent CPU technology has adopted the use of high speed memory module, which makes server configuration a bit tricky. I often had to figure out what kind of memory modules to use on my servers, be it a Database Server, an High Performance Computing (HPC) node or a Virtualization platform.

I hope the next series of posts will help shed some light on this matter and assist building the optimized platform for your application.

First we must understand the basics of memory technology that is currently used.  

JEDEC - Joint Electronic Device Engineering Council, is the group that set memory industry standards ,aspects such as features, functionality, AC and DC parameters, data interfaces and more.

The DDR3 SDRAM is the latest one used for servers. It is a high-speed dynamic random-access memory internally configured as an eight-bank DRAM. The DDR3 SDRAM uses a 8n prefetch architecture to achieve high-speed operation. The 8n prefetch architecture is combined with an interface designed to transfer two data words per clock cycle at the I/O pins.
Theoretically, these modules could transfer data at the effective clockrate of 800-1600MHz (for a single clock bandwidth of 400-800MHz), producing a throughput of 12800 MB/s.


Chart 1: SDRAM technologies throughput


Compatibility

DDR3 DIMMS have 240 pins, the same number as DDR2; however, since the supply voltage is different DDR3 uses 1.5V where DDR2 uses 1.8V they are incompatible. To identify between them, the DIMMS are also physically incompatible. The key notch location is different. so DO NOT try forcibly to install them. 


 DDR3 Advantages
  • Higher Performance – The most important benefit is the ability to transfer 8bits of data in 1 clock cycle, which is twice than DDR2.  Higher throughput equals higher performance.
  • Lower Power – DDR3 memory operate at 1.5V supply, which is 17% less than what DDR2 uses. This low power results in improving the thermal design using 30% less power.
  • Larger Density – Since the DDR3 allows higher chip capacity (1GB<) it allows a maximum memory modules of 16GB.
  • Data Integrity – An integrated thermal sensor refreshes the data in the device and ensures data integrity and data drainage during transfers
  • Higher Speed – Twice the speed of DDR2, it has the ability to transfer I/O data eight times the speed of the memory cell it contains.

DDR3 Standard Modules

Module Name Standard Name Memory Clock I/O Bus Clock Data Rate Peak Transfer Rate
 PC3-6400DDR3-800   100 MHz400 MHz  800 MT/s   6400 MB/s
 PC3-8500DDR3-1066   133 MHz533 MHz 1066 MT/s   8533 MB/s
 PC3-10600DDR3-1333   166 MHz667 MHz 1333 MT/s   10667 MB/s
 PC3-12800DDR3-1600   200 MHz800 MHz 1600 MT/s   12800 MB/s
Table 1: DDR3 standard memory modules

Note that Standard’s name correlates to the clockrate, not the Memory Clock or the Bus Clock, i.e DDR3-1600 offers the clockrate of 1600MHz.

Since memory configuration and capacity is effecting server performance, it is very important to understand which modules to use in which configuration. For example, populating all memory banks with the fastest modules (DDR3-1600) will cause the system to work as if DDR3-800 where used. in the next posts I’ll try to explain why.

Friday, June 11, 2010

Google Search made easy

Since it has become the most useful tool when using the internet, and it even got a catchy name for it (i.e. "Google it!"), I thought it might even more useful if I summarize some nice tips to tweak the search for the most accurate results.

Now, you may use the formatted Google Advanced Search  or you can just learn the simple key words that will help you narrow your search.

First for the basics:
  •    1. Every word you enter counts
  •    2. [ Yin and Yang ] is one query, while [ Yin ] and [ Yang ] are two separate queries.
  •    3. Punctuation is ignored, including @#$%^&*()=+[]\ and other special characters.
  •    4. Use the words that are most likely to appear on the page.
  •    5. The more unique the word is the more likely you are to get relevant results.

The cool stuff:
  • Phrase search ("") - Looks for exact words in that exact order without any change.
  • Search within a specific website (site:) - Limit your search to a particular domain name.
  • Terms you want to exclude (-) - Use the minus sign to omit searches that include words you want to exclude.
  • Wild card (*) - The search treats the star as a placeholder for any unknown term(s) and then find the best matches.
  • Exactly as is (+) -Since Google employs synonyms automatically, this key tells it to ignore it.
  • The OR operator (|) - Since usually every word counts, this key specifically allow either one of several words.
  • File extension (filetype:) - Display results that include only specified file types.
  • Search title (intitle:) - Display results that include the specified title in a document.

Now let's put this in to action


Example 1 - The search entry:
 "burning down the house" "talking heads"|tom jones" site:youtube.com Try it Now
Will search for "Burning down the house"  by Talking Heads or by Tom Jones only on youtube.com


Example 2 - The search entry:
 intitle:vitae site:uk programmer -submit -apply ext:doc | ext:pdf  Try it Now
Will search for the word "vitae"  on UK domains, include the word programmer exclude the words submit apply and only in files that have the extensions .doc and .pdf


Example 3 - The search entry:
 funny * +screams mirror site:youtube.com  Try it Now 
Will search for the word  funny and then some word, the exact phrase screams and the word mirror on youtube (BTW, that's my girl that is screaming there)

Well, these are the basics, from here on out you can use any combination you choose to narrow your search to get the best results.
To find out more about the advance search options and the exceptions that it offers use Google help pages.


Friday, May 21, 2010

Free Personal Cloud Storage

Personal Cloud Storage solution enables users to store, share, collaborate and access files – anytime, anywhere and from any device they choose. A desktop, a laptop or a mobile phone.
The Personal Cloud storage solution features secure online file storage, file sharing and in many cases some advanced collaboration, content tagging and true anytime, anywhere access from a variety of access clients. Some offer only basic web access, some offer other protocols such as SSL, ftp, Web DAV, while other include integration with the OS file manager.

What I was looking for was a solution that is basically free, or offers a free quota to start with, and can expand to bigger quota and SLA solution, which is usually charged. The services I chose to use were the ones close to the services I was already using.
  1. Google Documents  - using my Google account
  2. Windows Live Skydrive - using my MSN account
  3. Ubuntu One - embedded with my Ubuntu laptop
  4. Dropbox - just because it syncs on all platforms
  5. Adrive - just cause they were the first who offered 50GB  for free

Service Free Quota Access Search Upgrades Features
 Google Docs1 GBWebYes 20GB - $5/y
 80GB - $20/y
 Read More
 Skydrive25 GBWebNo
 Read More
 Ubuntu One2 GBWeb
Ubuntu Nautilus
No 50GB - $9.99/m Read More
 Dropbox2 GBWeb
Windows Explorer
Ubuntu nautilus
Yes 50GB - $10/m Read More
 Adrive50 GBWeb
Web DAV
FTP
Native Client
Yes 50GB - $6.95/m Read More

I must confess that I am using all of these services by now. but it makes it very difficult to keep track of what I put where. So I decided to use the services according to the types of content I store on them.

My favorite service is Google Docs as it allows indexing of most of the content you place there, which is very easy to search and tag. so I keep most of my Documents, Presentations, and PDF files there. For such working documents I don't need more than the 1GB offered for free. maybe one day when Google Gdrive comes out it will be more attractive.

Image 1: Google Documents

The Adrive is my archiving platform, where I keep my photos and videos which don't really need indexing. Documents and other files that I finished working on I archive there too. and what can I say the 50GB quota is a bliss.

Image 2: Adrive

For that same purpose you may use Skydrive if 25GB is enough for you. it is more convenient as you probably already own a Live account and the offer Sync to your desktop with Windows Live Sync.

Image 3: Windows Live Skydrive

Both Dropbox and Ubuntu one, are integrated with my file manager so it is very easy to use them, and you can search them using your operating systems search capabilities, which is nice BUT, you cannot search them from the web, which is something I really like as I am not always using my devices.


Image 4: Ubuntu One

Another great feature of both these services is that the sync the local folder with the folders in the cloud storage.

Image 5: Dropbox


Very important Note: Since what I reviewed here are free of charge services, you cannot really expect any service level agreement (SLA) from the provider. therefor, I would highly recommend not to store any private material, such as personal records, credit or any personal data that might leak, furthermore, I would recommend that you keep an On-premise copy (on a DVD or Local Drive)  of the important stuff you keep in the cloud, just in case someone decides to retire the service he is currently offering, such as Yahoo! did with their Briefcase service.

To summaries, I cannot tell you which one is best, only you can decide for your own. I hope I gave you some insight about the services and what they offer, and that might help you select your favorite.

-N.J.


Tuesday, May 11, 2010

Firefox extensions that make my browsing much easier

Firefox has establish itself as a good replacement for Internet Explorer(IE),  it’s a fact.  But what sets it apart from all other browsers is the ability to add extensions. You have a very wide selection of them, but I found that there are some that make my life much easier, and I consider them as a killer-app extension, which made me forsake IE for good.  Here are my favorite extensions.
 
1.       FEBE
FEBE (Firefox Environment Backup Extension) allows you to quickly and easily backup your Firefox extensions. In fact, it goes beyond just backing up -- It will actually rebuild your extensions individually into installable .xpi files. Now you can easily synchronize your office and home browsers.


2.       IE Tab 2
Updated and enhanced version of the classic IE Tab that features embedding Internet Explorer in tabs of  Mozilla/Firefox (Note that it works only on Windows OS). Most useful if you use SharePoint or other Microsoft sites, and retires the use of IE altogether.


3.       Adblock Plus
Annoyed by adverts? Troubled by tracking? Bothered by banners? Install Adblock Plus now to regain control of the internet and change the way that you view the web. A short video overview is available at http://www.youtube.com/watch?v=oNvb2SjVjjI


4.       Gmail Manager
Allows you to receive new mail notifications along with viewing account details including unread messages, saved drafts, spam messages, labels with new mail, space used, and new mail snippets..


5.       Speed Dial
With Speed Dial, you can easily access your most used websites. To show the Speed Dial tab, use the Speed Dial button (which can be added to the toolbar)


6.       GBookmarks
This extension allows you to access Google Bookmarks. It creates a menu in Firefox using which you can add, edit and remove bookmarks. So, you can access your bookmarks from any computer. You don't have to mail a link if you want to save or access bookmarks across computers, just use this extension...


 
7.       Greasemonkey
Allows you to customize the way a webpage displays using small bits of JavaScript. Hundreds of scripts, for a wide variety of popular sites, are already available at http://userscripts.org.  you can use Greasefire Add-on too and when you visit a web page that has compatible user scripts on Userscripts.org, this extension will highlight the Greasemonkey icon in the status bar. Right click the Greasemonkey icon and choose the "X scripts available" item to see and install the scripts available for the current page. (requires Greasemonkey)


8.       Better Gmail
Add useful extra features to Gmail, like hierarchical labels, an unread message icon on your browser tab, file attachment icons, and more.


9.       Better YouTube
A compilation of some of the best Greasemonkey user scripts for YouTube in one interface


10.       Securelogin
Secure Login is a login extension for Mozilla Firefox integrated password manager.
Its main feature is similar to Opera's (the browser) Wand login.