Archive for the 'Computer' Category

Monday, February 22nd, 2010, 7:06 pm | Computer, Hardware, Information, Software, Virtual Machines, Windows

Assessing Virtual Machine Performance

If you want to try a new operating system, but don’t want to put your computer and data to the risk of being corrupted, virtual machines can come in handy. They are small programs simulating to be a completely independent system with CPU, GPU, memory, HDD, DVD drive and so on and can run another operating system parallel to the one you’re actually using.

There are three major virtual machines out there: VMware Player, Sun VirtualBox and Microsoft VirtualPC. I took a look at all of them and compared their strengths and weaknesses. If you want to read the full review, have a look at the posts below:

Assessing Virtual Machine Performance: #1 Microsoft Virtual PC

Assessing Virtual Machine Performance: #2 Sun Virtual Box

Assessing Virtual Machine Performance: #3 VMware Player

I will also write a short summary of each VM in this post, but for now the detailed reviews should be enough.

VN:F [1.0.7_345]
Rating: 9.0/10 (1 vote cast)



No Comments »


Sunday, February 21st, 2010, 1:53 pm | Computer, Experiments, Gaming, Hardware, Software, Virtual Machines, Windows

Assessing Virtual Machine Performance: #3 VMware Player

In this series, I’m going to focus on comparing different Virtual Machines running Windows and their performance regarding different tasks such as single-threaded CPU-only applications, multi-threaded programs or even games requiring hardware 3D acceleration.

This article will show you when and for what to use VMware Player.

VMware Player is quite similar to Sun Virtual Box. You can also configure almost everything, from CPU count over memory to graphics acceleration. VMware Player can’t assign more cores than the computer actually has to the VM, but features better hardware graphics acceleration and up to 256MB of video memory. This also enables Windows 7 to run Aero and the glass effects smoothly.

vmware_window

I installed Windows 7 64-bit in the VM and compared the performance to my native Windows 7 64-bit. Like in VirtualBox, hardware acceleration is supported, but not required. The installation is even easier than in VirtualBox: Tell VMware Player which OS you plan to install, and it automatically suggests hardware configuration and manages the installation process by clicking the right buttons. After installation, it will install the VMware tools that include 3D driver support and other programs that make using the VM more comfortable.

A nice function that both VirtualBox and VMware Player support is the option to assign devices either to the host OS or the virtual one. This enables the user to connect two mice and keyboards and assign them to host and virtual OS. Now the virtual OS can be moved to a second screen and both users can use the computer simultaneously.

Performance:

Settings:

CPU count: 2

RAM: 1500MB

GPU acceleration: yes, 256MB, DirectX 9

First of all, the Windows 7 System Rating shows that both CPU and GPU performance in the VM are quite good, only the memory is a bit too slow:

vmware_windowsrating

To test how strong the VM really is, I ran SuperPI and got these results: It took the VM 0.773 seconds longer to complete the calculation, which equals a performance loss of 3.3%. This is a quite good result, similar to Microsoft Virtual PC, but not as good as VirtualBox.

vmware_superpi

Since the graphics acceleration really seems to work here, I tried some games to prove it. Older games such asCall of Duty, Couter-Strike 1.6 and Civilization were running nicely, Warcraft 3 had some texturing problems, and quite new games like Call of Duty 5 – World at War didn’t really run (I got around 4 FPS).

vmware_cod1 vmware_civ4

All in all, VMware Player is quite good in all fields: CPU performance, GPU performance and ease of use (installation and VMware tools). Moreover, working with it felt smoother than in VirtualBox or Virtual PC, but that may be due to Aero. This means one can work with VMware Player and even play older games. Regarding the possibility to connect keyboard and mouse to the VM and moving it to a second screen basically enables you to create a second, virtual computer that allows another user to work, play or watch movies on the same hardware at the same time.

VN:F [1.0.7_345]
Rating: 10.0/10 (1 vote cast)



1 Comment »


Sunday, February 21st, 2010, 12:28 pm | Computer, Experiments, Gaming, Hardware, Software, Tutorials, Virtual Machines, Windows

Assessing Virtual Machine Performance: #2 Sun Virtual Box

In this series, I’m going to focus on comparing different Virtual Machines running Windows and their performance regarding different tasks such as single-threaded CPU-only applications, multi-threaded programs or even games requiring hardware 3D acceleration.

This article will show you when and for what to use Sun VirtualBox.

For these tests, I used a quite uncommon configuration: I ran a virtual Windows 7 on my native Windows 7. Most users probably won’t do this, but there is a reason why I chose this OS configuration: Sun VirtualBox allows you to use more CPU cores than you actually have.

virtualbox_window

The OS installation with Virtual Box is quite easy, just insert your install DVD into the real drive, create a new VM with the hardware configuration you like and tell VirtualBox which OS you’re planning to install. Then allocate your DVD to the VM and start the installation. Worked greatly with Linux, Windows XP and Windows 7 and VirtualBox automatically installed its tools to enable automatic mouse grabbing and this kind of stuff.

In contrast to Microsoft Virtual PC, VirtualBox comes with GPU acceleration, but only allows you to use up to 128MB of video memory. Moreover, the drivers are still beta, so the performance is not as good as you would like it to be.

Performance:

For this test, I didn’t choose settings that any serious user would try, but decided to test the option of using 8 cores.

virtualbox_settings

Settings:

CPU count: 8

RAM: 2048MB

GPU acceleration: yes, 128MB video memory

I searched for a benchmarking program that can use any number of threads and found wPrime. Since it can be scaled to 4 or 8 cores, it was capable of running on both my real quad-core and on the virtual octo-core and still using all the cores.

wprime_4cores

wprime_8cores

The virtual octo-core was 0.303 seconds slower, which equals 1.9% performance loss. This is quite surprising when you consider that four of the cores are just simulated and the real OS and processor have to split up the work somehow. These results are even better than the ones I got from Microsoft Virtual PC where the performance loss was about 3.9%.

Hardware graphics acceleration should be there, but don’t expect too much. The drivers are still beta, the video memory is just 128MB and the graphics performance of VMs has never been close to the CPU performance. Unfortunately, I couldn’t get the DirectX acceleration to work, neither on Windows 7 64-bit nor on Windows XP 32-bit. That’s a pity because the only VM supporting graphics acceleration is VMware Player then.

All in all, VirtualBox is a really nice tool due to its possiblities of configuration such as using 8 cores, its easy installation and the CPU performance. There is no such feature as direct integration into the host OS as with Virtual PC, but nobody would expect such a feature, and the graphics power isn’t that awesome either, but still better than other VMs supplying just a standard VGA adapter without hardware acceleration or DirectX support.

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



1 Comment »


Sunday, February 21st, 2010, 11:07 am | Computer, Experiments, Tutorials, Virtual Machines

Assessing Virtual Machine Performance: #1 Microsoft Virtual PC

In this series, I’m going to focus on comparing different Virtual Machines running Windows and their performance regarding different tasks such as single-threaded CPU-only applications, multi-threaded programs or even games requiring hardware 3D acceleration.

This article will show you when and for what to use Microsoft Virtual PC and the XP mode that comes with Windows 7.

The first thing to mention is the fact that Virtual PC requires hardware-assisted virtualization which must be supported by both CPU and mainboard. Many older and mainstream mainboards do not include this function and thus render the user unable to use Virtual PC. Most other Virtual Machines can profit from virtualization, but do not require it.

xpmode_window

A nice feature Virtual PC has is that it can be directly embedded into the host OS (Windows 7). Like in other VMs, you can launch XP Mode normally in its own window with its own desktop and stuff, but all the programs you installed in XP Mode will be directly available from the Windows 7 start menu. Just click the shortcut, wait a few seconds for the VM to boot, and you will see your application running in an Windows XP environment, but the window is on your normal Windows 7 desktop.

Performance:

Settings:

CPU count: 1 (not adjustable)

RAM: 512MB (not adjustable)

GPU acceleration: no

Basically, Virtual PC doesn’t leave you the option to change any settings for your Virtual Machine, but if you really want to do so, you can edit the configuration file manually. Just open it with notepad and change the settings: C:\Users\Lennart\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines\Windows XP Mode.vmc

Since there is just one CPU and no graphics acceleration, I decided to test the only thing I can, CPU performance. I ran SuperPI first on the VM and then on my native Windows 7 and here is what you get:

xpmode_superpi

The virtual Windows XP took just 0,848 longer than the native Windows 7, meaning a performance loss of 3.9%. This are really good values that basically enable you to work with applications running in the virtual machine as if they were running natively and you shouldn’t feel any slowdown (except for multi-threaded work such as video encoding).

All in all, Microsoft Virtual PC enables you to run old programs that can’t run on Windows 7 for some reason without any major loss in performance. Since there is no GPU support, you can’t use it for gaming, not even some very old games I tried were running. But if you just want to work, XP Mode will be a  good choice.

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



2 Comments »


Sunday, February 14th, 2010, 3:55 pm | Computer, Experiments, Google, Internet, Software

Opera 10.50b claims to be fastest browser on Earth

Opera claims on its own website that its latest beta  version, Opera 10.50b, is the fastest browser the world has seen so far. This statement is based on test results from different browser benchmarks published on the official Opera blog.

opera_01

As Google Chrome has been the fastest browser for a while and the alpha version of Opera 10.50 caught up quite well with Chrome’s performance but didn’t beat it yet, I decided to check the benchmark results given in the blog post by Opera. I ran all the benchmarks with the same settings as Opera did and also tested all four browsers. The only difference is that I used Chrome 5 (alpha) instead of Chrome 4 which is justified since Opera is also using non-stable builds of their browser. I summed up all the benchmark results in a diagram quite similar to the one used by Opera in order to make comparison easier:

opera_02_new

The diagram published by Opera looks like this:

opera_03

As you can see, the latest version of Opera really beats Chrome in Peacekeeper and Dromaeo, but Chrome is far ahead in both Sunspider and V8. I ran all the benchmarks several times to verify my test results and they are perfectly valid, but still differ from the ones published by Opera somehow. Now one has to ask why there is such a big difference regarding Sunspider and whether Opera faked its scores or the latest version of Chrome really improved in this sector.

All in all, it’s quite clear that Opera is really trying to beat all other browsers when concerning JavaScript performance and manages to catch up with Chrome. It will be interesting to see whether the final version of Opera 10.50 will beat Chrome in all tests or not.

In contrast to Opera, I want my  benchmark results to be rock-solid and not to be challenged, so I took screenshots of each result and also created an Excel file that contains all results and the calculations made to create the diagram. You can download the screenshots and the Excel file to check my results.

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



6 Comments »


Saturday, February 6th, 2010, 8:57 pm | Computer, Download, Google, Software

Google Chrome 5 comes with automatic page translation

The latest version of Google Chrome, build 5.0.317.2, brings a new feature to improve the browsing experience when visiting foreign websites. It includes an automatic page translation tool which detects the page language and, if it differs from your browser language, offers to translate it to your language using Google Translate.

When Chrome offers you to translate a site, a blue bar will show up in your Chrome window:

chrome_translate01

When you click the Translate button, it takes a few seconds, and your page should appear in another language. I tried this on several websites with several languages, but it never really worked. Always some parts, like links and headlines were translated, but most of the text stayed in its original language.

chrome_translate02

Other languages are working, though:

chrome_translate03

As you can see, this feature is still very experimental, but since I’m using the alpha (dev) version of Google Chrome, I can’t expect every new feature to work perfectly. Google will surely fix this issue until the release of Google Chrome 5 final, and it will make browsing easier, as you will be able to view a lot more websites in languages you don’t understand, without having to mess with pasting the text to your favorite translation tool or guessing what it may say.

If you want to try the new feature (and thus have Chrome dev version), switch to the Dev channel here. Also check out the AdThwart extension to block ads in Google Chrome or my tutorial on how to make Google Chrome anonymous.

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



No Comments »


Saturday, January 30th, 2010, 7:59 pm | Apple, Computer, Google, Information, Internet, Software, Windows

New version of Opera catching up with Chrome’s performance?

There is an updated benchmark including Opera 10.50b and Chrome 5.0 here!

A newly released pre-alpha version of Opera promises to radically improve the browser’s performance and speed of displaying and loading websites. The official developer website even claims that “[Opera 10.50] is fast, more than 7x faster in SunSpider than Opera 10.10“. Since Google Chrome has been the fastest browser on the market so far, followed by Apple’s Safari browser, we may have a new player among the best-performing browser.

fastest_browser

I downloaded and tested Opera 10.50 and found out that it actually is much faster than before, but also very unstable. I ran Peacekeeper three times, the first time it went well, the second time it was much slower and the third  time it didn’t start the benchmark and showed just a blank page. I had to re-install Opera in order to fix this problem. But please keep in mind that this is a pre-alpha release and not meant for everyday use.

In comparison to Chrome 5.0.307.1, Opera 10.50 lost by 12.8%, which is actually a big improvement compared to Chrome 2.0.170 and Opera 9.64, where Opera lost by 60.2%. Safari, once the fastest browser, scored 28.6% less than Chrome, thus giving up its second place to Opera.

peacerkeeper_chrome-vs-opera-vs-safari

Considering the fact that Opera is still pre-alpha and that the development team will improve it before releasing the final version, one can expect Opera’s Peacekeeper score to increase again, bringing it dangerously close to Chrome.

VN:F [1.0.7_345]
Rating: 10.0/10 (1 vote cast)



2 Comments »


Friday, January 29th, 2010, 12:47 pm | Computer, Download, Gaming, Software, Windows

Battlefield Bad Company 2 exclusive preview

Yesterday evening, the Closed Beta of Battlefield Bad Company 2 started. I managed to secure a beta key and get the game installer and immediately started testing. First of all, a few screenshots and performance information, but more information and a video will follow! There is a torrent download for Battlefield Bad Company 2 that’s working quite well in contrast to the official EA servers or other mirrors that are really overloaded and keep crashing all the time.

The beta supports multiplayer and includes only the gamemode “Rush” with the map “Port Valdez”. Official sources say:

The Battlefield: Bad Company 2 PC beta will feature Port Valdez, a new vehicle focused map where up to 32 players will compete against each other as either the US or Russian armies in the game’s Rush multiplayer mode. Players will have access to five land and three air vehicles where the Russian side can use everything in their arsenal including Main Battle Tanks as well as the fast-moving Quad Bikes and Mobile Armored AA. The fight will also be packed with plenty of infantry combat fought alongside the waterline towards a great oil industrial landscape in the Alaskan mountains.

Being based on the new Frostbite Engine, the game has quite high system requirements:

Recommended Frostbite PC Specifications for BFBC2 & BF1943:
Processor: Quadcore
Main memory: 2GB
Graphics card: GeForce GTX 260
Graphics memory: 512MB

bad_company2_15

Especially explosions are really nice in this game, thus I created a “flip-book” of pictures (click to enlarge):

bfbc2_explosions

Ingame screenshots:

More content will follow soon!

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



2 Comments »


Monday, January 11th, 2010, 3:40 pm | Computer, Download, Hacking, Hardware, Software, Tutorials, Windows

Hack and Reset any Windows 7 user password

If you forgot your your Windows account password, it got hacked or some virus changed it so you’re not able to access your computer any more, you can use the following tutorial to restore and reset the password. This method will also work for Windows 95, 98, 2000, XP and Windows Vista!

WARNING: Please do not use this method for illegal activity such as hacking passwords without the other user’s consent!

  1. Your Windows passwords are stored in the Windows registry. In order to reset them, you need access to  this registry without running Windows. Luckily, there is a tool called “Offline NT Password & Registry Editor” which contains a small Linux kernel and drivers for your hard drives. Download the tool from this server or the official website.
  2. Extract the RAR archive. Now you need to create a bootable device in order to run the tool:
    Using a CD: Just burn the ISO file to any empty CD and proceed.
    Using a USB memory stick:
    Format the memory stick in FAT32 format (rightclick it and choose “Format”) and enable “Quick Format”. WARNING: When formatting, all data in the memory stick will be lost!
    winpw02
    Open the ISO file with WinRAR (or any similar program) and extract all files onto the memory stick.
    Start the console (Press WINDOWS + R and type cmd, press ENTER), enter the drive letter of your memory stick (e.g. L: ), then enter “SYSLINUX.EXE -ma L:” (replace L: with your drive letter). This will set the boot record for your memory stick, enabling your computer to use it as boot device.
    winpw03
  3. Now plug in the USB memory stick or insert the CD into the drive of the password-locked computer and switch it on.
  4. When the BIOS image is showing up, make sure you enter the “Boot Menu”, usually by pressing F12.
    winpw01
  5. A window should pop up asking you to choose the device to boot from. Select CD or USB HDD.
    winpw04
  6. After a few seconds, this screen will show up. Just press enter to boot normally.
    winpw05
  7. Now a lot of text will appear on your screen while the system is loading drivers for your hardware. Just wait until it comes to a stop and waits for your input. Now the tool is asking on which partition your Windows registry files are located. Usually, this would be  the first partition, but since there is a small (100MB) backup drive in Windows 7, you should take the next one, enter the number below and press enter.
    winpw06
  8. Next, it asks for the path to your registry files on the drive. These are usually fine, just press enter to continue. When the files are located, you can choose what to do. Enter 1 and hit return for “Password reset”.
    winpw07
  9. Then you have to select “Edit user data and passwords” by entering 1 again and pressing Enter
    winpw08
  10. Enter your account name from the list and press Enter
    winpw09
  11. On the next screen, enter 1 to “Clear (blank) user password”. You may also select 4 to “Unlock and enable user account” if you have entered the password too often and it is locked. If that’s all you wanted to do, enter ! and press return to quit.
    winpw10
  12. Enter q again to leave the next menu and write the files by typing “y” in Step 4.
    winpw11
  13. Now your password has been reset, just restart your computer normally and you should be able to log in to Windows again!

If there are any questions, please comment!

VN:F [1.0.7_345]
Rating: 10.0/10 (1 vote cast)



1 Comment »


Sunday, January 10th, 2010, 10:07 pm | Computer, Download, Hardware, Tutorials

Update BIOS using Q-Flash for Gigabyte mainboards

If your computer crashes or is somehow malfunctioning, a BIOS update may help. I tried to run Microsoft Virtual PC on my Gigabyte GA-MA790XT-UD4P mainboard with AMD Phenom II X4 955 processor, but it refused to start due to lack of Hardware Virtualization support although I enabled it in the BIOS setup. Updating my BIOS to the latest version with Q-Flash using an USB memory stick helped, so this tutorial will show you how to do it.

  1. Get the latest drivers for your mainboard from www.gigabyte.com.tw
  2. Extract the 7-zip archive to some folder, e.g. C:\bios_flash\
    qflash01
  3. Plug in your USB memory stick and format it using the FAT32 file system (enable Quick Format).WARNING: When formatting, all data on the memory stick will be lost!
    qflash02
  4. Go to the directory with the extracted BIOS update files and locate the actual BIOS data file, called something like M79XTUD4.F7, where the .F7 stands for version 7 and the stuff before for my mainboard model. Copy this file onto the freshly formatted memory stick
  5. Restart your computer. When you see the BIOS image, press END to enter Q-Flash mode
    qflash03
  6. A blue box will show up asking you what to do. First of all, backup your original BIOS to your USB thumbdrive. Select “Save BIOS to Drive”, then your USB memory stick and type in a name for your backup. Once you press enter, it will start backing up your data which may take up to 5 minues.
    qflash04 qflash05 qflash06
  7. Once you are done backing up, return to the previous menu and select “Update BIOS from Drive” and locate the BIOS file you downloaded. Press enter to start flashing. WARNING: Do not switch off your computer while flashing your BIOS. This may permanently corrupt your mainboard!
  8. When the flashing is finished, restart your computer, enter BIOS setup (press DEL when seeing the mainboard image) and “Load Optimized Defaults”.
    qflash07
  9. After loading the default settings, “Save and Exit Setup”. Your computer should start normally with the latest BIOS  version, hopefully solving the problems you encountered before!
  10. If you did any adjustments to the BIOS before (enabling Virtualization, memory  timings, CPU clock, etc.) you will have to set it again.

If you have problems following this guide, please comment! You can take good pictures of your computer screen using the Xshot! camera stabilizer!

VN:F [1.0.7_345]
Rating: 10.0/10 (1 vote cast)



3 Comments »


ss_blog_claim=c7d0757dcb48491268e39569f229169b ss_blog_claim=c7d0757dcb48491268e39569f229169b