Monday, November 1, 2010

Overview

The release of Windows 7, the latest Microsoft operating system, is an opportunity for engineers and scientists to harness new technologies to solve technical problems. Like the predecessor, Windows Vista, users can select between a version for 32-bit processors and a version for 64-bit processors. Whether porting a system to a new version of Windows, or starting new development on the OS, it is important to understand which version best suits your needs.

What Are the Differences between 64-Bit and 32-Bit Processors?

To understand why 64-bit operating systems are a logical step in the evolution of the PC, consider this background information. More often than not, the maximum size of the physical memory on a computer is less than the amount needed for all running programs. This is especially true when multiple processes or applications execute simultaneously. The solution for this is that programs store some of their data on the hard drive and copy it back and forth to physical memory as needed.

This solution is often referred to as “virtual memory,” in which the computer simulates having large amounts of contiguous physical memory. A paging table is responsible for moving segments of virtual memory into physical memory as necessary. If the amount of memory demanded by all running processes exceeds the available physical memory (RAM), the paging table stores low-priority processes on the hard drive in the page file, which is much slower than RAM. When the user needs these processes, the page table re-maps them into physical memory, where the user can access them at high speeds (see Figure 1). The total number of addresses available in the virtual memory – the total amount of data the computer can keep in its working area for applications – is determined by the width of the registers on the computer processor.

Figure 1. The paging table moves segments of virtual memory into physical memory as needed to provide more memory to running processes.

Until recently, almost all consumer PCs used 32-bit processors. The bit size of a processor refers to the size of the address space it can reference. A 32-bit processor can reference 2^32 bytes, or 4 GB of memory. These 32-bit processors were standard at a time when 4 GB was thought to be more than enough memory space for software applications on Windows. When a process, such as running a program, is created on an x86 Windows computer with a 32-bit processor, the operating system allocates its 4 GB of virtual memory, irrespective of the actual physical memory installed on a system. Half of that allocated memory is user-accessible memory, while the other half is for kernel processes such as drivers. Modern computing systems increasingly confront the 4 GB ceiling thanks to memory-intensive applications and the need to store multiple processes in memory simultaneously.

In 2003, AMD released the first widely accepted 64-bit processor aimed at consumers, the Athlon 64, and coined AMD64 as the name for the new instruction set. Microsoft refers to the instruction set as x64, which parallels the widely accepted x86 nomenclature used for the instructions that run on most 32-bit processors.

Processors capable of referencing larger address spaces provide the opportunity to use more physical memory than ever before, potentially reducing the overhead spent moving processes in and out of physical memory. The 64-bit processors are theoretically capable of referencing 2^64 locations in memory, or 16 exabytes, which is more than 4 billion times the number of memory locations 32-bit processors can reference. However, all 64-bit versions of Microsoft operating systems currently impose a 16 TB limit on address space and allow no more than 128 GB of physical memory due to the impracticality of having 16 TB of RAM. Processes created on 64-bit versions of Windows are allotted 8 TB in virtual memory for user processes and 8 TB for kernel processes to create a virtual memory of 16 TB.

To summarize, the ability of Windows Vista and Windows 7 x64 Editions to add address more memory space than previous versions of Windows helps minimize the time spent swapping processes in and out of memory by storing more of them in RAM.

Evaluating an Engineering System on Windows 7

Windows 7 represents the first viable upgrade from Windows XP for PC users in many ways, especially considering that Vista was largely overlooked due to various problems with compatibility and performance. For engineering and scientific applications, the combination of Windows 7 (64-bit) and the latest version of LabVIEW and NI Device Drivers make it possible to tap into the potential of 64-bit hardware thanks to native support.

Not every application stands to benefit from the x64 architecture, and it will take time for 64-bit editions of Windows to gain widespread adoption, but the following types of applications are most likely to see performance benefits on Windows 7 x64 Edition, provided that both 64-bit application software and drivers are available:

  • Applications that require mathematical precision and floating-point performance
  • Applications that involve large, high-performance databases
  • Vision acquisition and analysis applications with large amounts of data moving directly into memory at rapid rates

For more information on the availability of NI products with native support for 64-bit operating systems, please visit Announcing 64-bit Support for LabVIEW.

Performance and Virtualization

64-bit versions of operating systems such as Windows Vista and Windows 7 are not automatically faster than their 32-bit counterparts. In some cases, they may even perform slower because of the larger pointers as well unrelated OS overhead. Overall, an application’s performance depends on what it is used for and how it is implemented. Emulated applications running within the Windows on Windows (WOW) 64 layer (discussed in more detail later in this article) will not be able to address any more memory than they could on a 32-bit system.

Most 32-bit software will still function because of a Microsoft emulation layer. This emulation layer, known as Windows on Windows 64 or WoW64, enables 32-bit programs to run as though on a 32-bit version of Windows by translating instructions passing in and out of 32-bit applications into 64-bit instructions. Emulated programs act as though they are running on an x86 computer and operate within the 2 GB of virtual memory that a 32-bit version of Windows allocates to every process. However, despite Wow64, 32-bit programs on 64-bit versions of Windows Vista and Windows 7 cannot take advantage of the larger 64-bit address spaces or wider 64-bit registers on 64-bit processors.

Potential Benefits of 64-bit

The transition to the 64-bit architecture is overwhelmingly driven by the limitations of the x86 architecture in terms of addressing memory. Applications running on a 64-bit edition of Windows should theoretically experience improved performance because of the larger quantity of available memory, even if the application is running within the WoW64 layer. Much like the advantage offered by increasing physical memory in a 32-bit system, the larger memory space on 64-bit versions of Windows Vista and Windows 7 allows more processes to actively reside in the system RAM simultaneously. It allows allows users to add additional RAM beyond the previous 4 GB limit, up to the amount supported by the mainboard.

This change potentially eliminates or reduces time spent loading and switching between processes, a condition that can lead to “thrashing” when all the processor’s efforts are spent merely loading and switching between threads. To reap the benefits of a 64-bit operating system such as Windows Vista x64 Edition, you should invest in a large amount of RAM (4 GB or more) and a compatible motherboard.

For 64-bit version of Windows, Microsoft also requires a digital signature on all drivers. By requiring new, signed drivers, Microsoft aims to reduce failures and improve stability by shining a spotlight on vendor responsibility for bugs. With 32-bit version of Windows, administrators can install unsigned drivers, but Microsoft continues to discourage their use. All non-legacy National Instruments drivers are digitally signed and available for both the 32-bit and 64-bit editions of Windows.

Potential Drawbacks to Windows x64 Edition

Windows XP was available only as a 32-bit operating system for 32-bit processors until 2005, when Microsoft released a 64-bit edition. This version of Windows XP did not see widespread adoption due to a lack of available software and hardware drivers. Vendors were hesitant to invest in a platform that seemed more novel than practical for consumers at the time, which led to compatibility issues with common devices such as sound and graphics cards. Developers interested in using 64-bit operating systems found the migration path to Vista much smoother due to the WOW emulation layer, which allowed older applications to run. However, most did not see performance increases due to a lack of applications with native support for 64-bit processors.

Given the increasing number of 64-bit processors, Windows 7 x64 Edition is unlikely to suffer the same lack of support. A potential drawback stems from the possibility that some hardware vendors may not release Windows Vista/7 x64 Edition-compatible versions of drivers quickly.

Summary

Windows 7 x64 Edition represents the first mainstream 64-bit operating system from Microsoft in terms of general availability and support from third-party add-on vendors. Because of this, moving from a 32-bit operating system such as Windows XP to a 64-bit operating system such as Windows 7 x64 Edition merits serious consideration in many cases.

However, the feasibility of successfully making the jump to Windows 7 x64 Edition depends largely on your application and its requirements. For some, Windows 7 x64 Edition offers much needed performance improvement, while for others, it could needlessly complicate applications designed to operate on x86 platforms or even have a negative effect on performance.

Tuesday, March 2, 2010

100 days to Africa's World Cup dream
Tuesday, 02 March 2010
Fifa LOC
LOC CEO Danny Jordaan, FIFA's Jerome Valke, FIFA President Joseph Sepp Blatter & Deputy President of South Africa Kgalema Motlanthe during the FIFA 2010 OC 100 days celebrations in Durban on 1st March 2010.
As South Africa today celebrates 100 days until the 2010 FIFA World Cup, it is a time to reflect on the progress the country has made since first winning the right to host Africa’s first World Cup.

“As we mark 100 days to the start of the 2010 FIFA World Cup, we do so with immense pride. We are proud because, in many respects, we are able to pronounce ourselves ready to welcome the world three months ahead of schedule,” South African Deputy President, Kgalema Motlanthe, said last night in Durban.

“On 15 May 2004 we were in Zurich and I was sure when I opened the envelope that it would be South Africa, and it was. When Nelson Mandela took the trophy that night he said that a dream had come true,” said FIFA President Joseph Blatter, reminiscing about the night South Africa was awarded the hosting rights.

For the Chief Executive Officer of the 2010 FIFA World Cup Organising Committee South Africa, Dr Danny Jordaan, the 100 day milestone is as much a celebration of the work achieved as it is the expectation of the world’s greatest football event.

“We have come a long way since our name was pulled out the envelope in 2004. The hard infrastructure work has been largely completed. Our stadiums will be ready to host the fans and teams and our airports will be ready to welcome the influx of visitors. For the next 100 days it is the people of South Africa that need to prepare for the celebration that awaits them. As South Africans we have encountered a lot of skepticism but today, as we celebrate this milestone, we can confidently say to the world that we will be ready,” said Jordaan.

As Durban kicked off the 100 days to the World Cup celebrations last night, confidence about South Africa hosting a successful World Cup was evident.

For the Chairman of the 2010 FIFA World Cup Organising Committee South Africa, Dr Irvin Khoza, the 100 day celebrations mark a significant change in attitude. “We cannot wait to enjoy the 30 days of football, 30 days of festival and 30 days of unprecedented and unequalled excitement and celebration. We cannot wait to bask in global attention, to project an image of

Africa so vibrant and so positive that we create wealth, jobs and opportunity”.
Although he had many to thank for the hard work put into the preparations for the World Cup, Khoza singled out the ordinary citizens of South Africa.

“I would like to thank our people. Together, as South Africans and Africans, we have faced doubters and skeptics, we have faced critics and opponents. We have heard people say we cannot finish stadiums. We have heard people say we cannot provide safety and security. We have heard people say we cannot host the FIFA World Cup. Today, 100 days before the opening match, I ask you to recall the words of US President, Barack Obama. Can we stage an outstanding World Cup in Africa? Yes we can, we are waiting and we are ready”.

The current celebrations in Durban are the culmination of a four day long tour of all the stadiums and host cities with a contingent of 100 journalists, accompanied by Jordaan and FIFA Secretary General, Jerome Valcke. The tour started last Friday with a tour of Johannesburg’s two stadiums – Soccer City and Ellis Park – and ends today with a tour of Durban stadium.

Sunday, December 20, 2009

tips

Survival and general tips of Life

GENERAL EQUATIONS AND STATISTICS

A woman worries about the future until she gets a husband.

A man worries about the future until she gets a wife.

A successful man is one who makes more than his wife can spend.

A successful woman is one who can find such a man.

HAPPINESS

To be happy with a man, you must understand him a lot and love him a lot.

To be happy with a woman, you must love her a lot and not try to understand her at all.

LONGEVITY

Married men live longer than single men do, but married men are a lot more willing to die.

PROPENSITY TO CHANGE

A woman marries a man expecting he will change, but he doesn’t.

A man marries a woman expecting she will change, and she does.

DISCUSSION TECHNIQUE

A woman has the last word in any argument. Anything a man says after that is the beginning of the new argument.

HOW TO STOP PEOPLE FROM JBUGGING YOU ABOUT GETTING MARRIED:

Old aunts used to come to me at weddings, poking me in the ribs and crackling, telling me, “You’re next”. They stopped after I started doing the same thing to them at funerals.

Friday, December 18, 2009

Net Users Warned Of Social Networking Virus

Net Users Warned Of Social Networking Virus

Internet users are being warned to watch out for a new computer virus targeting popular social networking sites in the run up to Christmas. Skip related content

Related photos / videos

Sky News has been told that Facebook users are most at risk from a variant of the Koobface virus, which has been disguised as a Festive greetings video, hosted on a YouTube site.

Security experts say the new virus is "particularly nasty" and compels its victims to participate manually in creating a new Facebook account to help spread the worm.

In previous years, variations of this virus have caused chaos across the web.

But internet security experts believe the new worm is likely to prove particularly effective in fooling users, because of the growing number of people who now opt to send out electronic greetings cards.

The attacks work by posting malicious links on Facebook wall pages, inviting users to click on the Christmas card videos. However, any attempt to play the video turns over control of the PC to the attackers.

The victim then sees a warning message, requiring them to solve a Captcha (Completely Automated Public Turing Test To Tell Computers And Humans Apart) puzzle within three minutes.

A timer ticks down and if the puzzle goes unsolved after the allotted time, the PC freezes up.

Experts warn that rebooting the computer will not help and the only way to end the loop is to solve the Captcha puzzle.

The victim would then be able to use their PC as normal, but the attacker would still have control.

While those targeted grapple with the unfolding problem, the worm separately uses the victim's computer to fill out a new account application, unseen by them.

The new account is then used to post more Christmas video worms in a continuing cycle.

Internet security company Panda Security has been tracking the latest variant of the Koobface worm from its labs in Spain.

"There is no doubting that this latest Koobface attack represents a serious threat to social networkers," the company's UK managing director Peter Lautin told Sky News.

"If someone runs the infected file on their Facebook or MySpace page, the worm will automatically log in to their account and several other social networking sites, sending malicious messages to all their friends.

"The more people who use an application such as Facebook, or any other means of social networking, the more likely they are to be targeted by bad guys to send out malicious threats such as Koobface."

The company recommends that users do not reply to or follow links included in unsolicited Facebook messages and users should always carefully check that the URL they are entering is really that of the site they want to access.

What do think of Lobola

Zulu Marriage

I became familiar with the word ‘zulu’ through Lans Klusener but hadn’t developed much interest in my first to South Africa. This time, met a zulu person and hopefully soon would get a chance to visit Kwazulu Natal to get glimpse of Zulu tribe. http://www.africapoint.com/ posted interesting facets about Zulu history, traditions and culture. One of the fascinating aspects of Zulu tradition is marriage.

Among the Zulu, marriage is an important aspect of life. Courtship through to marriage is a subtle and complex process. The girl makes the crucial first move, by sending an adornment of colored beads through a trusted friend. Through her color choice of beads, she sends across powerful love messages to the favored young man.

In Zululand, color is symbolic and can be used as a language. Therefore, every colored bead speaks a particular message: red means love or passion, white -faithfulness and purity, blue - thoughts of love, loyalty or loneliness, yellow -jealousy, and black expresses the wish for marriage or may sometimes convey anger. In courtship, if a reply is required, the girl includes some grey-blue beads.

On receiving the beads, the boy seeks the correct interpretation of the message. If he accepts her ornament of love, then courtship begins. They continue to exchange hot messages coded in beads, until they are ready to marry. Though this is a very exciting time for the lovebirds, it is out of question that they may engage in sexual relations before marriage. Zulu customs are very clear about this, and the girl must be married a virgin.

On the boy's request his family approaches the girl's family to ask for her hand in marriage, and the process of bride-price negotiations, - lobola, begins. This marks the official engagement. During lobola negotiations, the two families set and agree on gifts to be offered to the girls' father in terms of head of cattle. The bride price is paid in installments, and continues after the wedding, until the whole amount is paid up.

The proper meaning of bride price here is the compensation a father is offered for the loss of a daughter. For once she leaves her father's home, she becomes a member of her husband's family. A man may marry as many wives as he may afford, but a woman belongs to one man only.

At a set date before the wedding day, the bride and bridesmaids depart for the groom's home with all the bride's belongings. On arrival, the bride first presents her future father-in-law with gifts from her father. Accepting the gifts signifies acceptance into her new family. Early the next morning, the bride and her girls take to the river where they bathe naked as a sign of cleansing and purification. The bride thereafter goes through a string of rites and rituals before she is declared ready to be wed.

The preliminaries include a virginity test conducted by elderly women with experience in such matters. The results of the virginity test are eagerly awaited. Before the verdict, there is tension between the two families; they line facing each other as they haul across teasing insults. This may drag on for as long as two or three days. When the girl is declared fit to be a Zulu wife, there is jubilation on all sides. Celebrations begin with the downing of two head of cattle, and the two families exchange meat as a sign of unity.

The official wedding is conducted at night, usually when the moon is full or bright, in order to avert ill fate. The bride's parents do not attend the wedding so as to keep sad emotions from the joyous occasion. The wedding celebrations and feasting may last another two days, and will only end after the bride picks up her sleeping mats and heads for her husband's house.

Among the Zulu, different types of dressing define a person's status in society. A young unmarried girl wears heavily beaded, short hip-length skirts and is adorned in bead necklaces and walks around bare-chested. When she gets married she wears a black pleated leather skirt, decorated with beadwork. The men usually wear two stringed pieces of cowhide -one to cover his front essentials and the other, his rumps. Little children strut around in their birthday suits, punctuated by a few bead strands around the waist.