Welcome!

Open Source Authors: Liz McMillan, Rex Morrow, Datical, Pat Romanski, Elizabeth White, Carmen Gonzalez

Related Topics: Linux, Open Source

Linux: Article

Product Review — Running Windows on Linux

Bridging the gap

Regardless of how fast, stable, and geek-chic desktop GNU/Linux has become, we still live in a Windows world. Many vendors, either through lack of vision or funding, will produce only a Windows version of their software or drivers. If you're a gadget geek like me, you likely end up in the same old quandary of "I want that gadget, but it only has Windows drivers." If you're even more like me, you'll elect not to take the high road and search for ways to run that bad boy on your desktop GNU/Linux box.

There are a handful of products that will enable Windows applications to run on GNU/Linux, all with varying degrees of success. Regardless of which products are on the market, they'll fall into two categories: those that require you to have a licensed copy of Windows, and those that don't. Win4Lin and VMware fit into the first category, which I affectionately call "virtual machine-type" applications. The second category is where products like Wine, CrossOver Office, and Cedega fall. These products don't require Windows, rather they attempt to fool Windows applications into thinking they're running on Windows by performing varying types of tricks at the binary level. I call this class of application "windows emulators" (quite wrongly, I admit).

It only seems fair to compare apples to apples and so this article is a comparison of the two virtual machine-type applications Win4Lin 2.7 and VMware Workstation 5.5.1. The test emphasizes desktop GNU/Linux and the test platform is a suitably powerful Dell Inspiron 1000 laptop with 512MB of RAM, a 30GB hard drive, a 2.2GHz processor running Kubuntu "Breezy Badger" 5.10 with kernel 2.6.12-10-386.

Overview
While it's important to note that both Win4Lin and VMware are both virtual machine-type applications capable of running Windows on a GNU/Linux box, they differ in the extent of their functionality. Win4Lin Pro is specifically designed to run a single copy of Windows whereas VMware Workstation is designed to provide many virtual machines, each of which can run a single copy of Windows, Linux, NetWare, or Solaris x86. This extended functionality is reflected in the price and download size.

Pre-Installation
Due perhaps to the fact that I've been writing a new Linux user blog for so long, I put a great deal of emphasis on the stuff that happens before I get down to the business of installing applications. How is the Web site laid out? Is the product easy to find and download? How is the documentation and support?

The Win4Lin Web site is well laid out and I found the download page for my preferred product in a few intuitive clicks. Once on the right page, I knew that I wanted the Win4Lin Pro product, and I found both Debian and RPM packages for the latest version, but no tarball. I downloaded and installed the 3.6MB Win4Lin Pro version 2.7 file named win4linpro_6.2.7-02_i386.deb, and went about reading the online documentation to figure out how to configure it.

I had to register to get a demonstration license key, but that's to be expected.

Win4Lin requires the KQEMU accelerator module for acceptable performance. Win4Lin Pro automatically builds this module as a kernel-compatible device driver every time Win4Lin is installed or upgraded. For KQEMU to be built correctly, however, the local system has to have the kernel source on it. The Win4Lin documentation contains instructions on how to install the kernel source for Fedora, Red Hat, Debian stable, Mandriva, SuSE and, thankfully, Ubuntu 5.10. The Ubuntu 5.10 instructions walked me through activating the "Universe" repositories and gave me the commands to get the packages KQEMU needed.

The VMware site was a little tricker to navigate, but still completely usable. I had to register even to download an evaluation version, but again there's nothing wrong with a company tracking its potential customers. I was surprised to see that an enterprise-ready application like VMware only offered an RPM and tar.gz package. I guess that's indicative of the inroads that companies like Red Hat are making into the enterprise space. However, running a Debian-based distro, I had to make do with the tarball. Like Win4Lin, I needed the toolchain and kernel source to build and install VMware.

I downloaded the 95MB VMware-workstation-5.5.1-19175.tar.gz file, untarred it and ran the intuitively named VMware-install.pl file in my newly created VMware-distrib directory. The VMware installation script asks a lot of questions, but also offers a lot of common sense defaults. With the exception of having to correct its selection of network interface to bridge to, the defaults worked on my system.

Company Support
As is my custom, I generally contact a company before reviewing their product to give them the opportunity to ensure that I get the right product and have access to some support while I am doing the review.

Win4Lin completely blew VMware away in this respect. As soon as I asked for a review copy, Dan Perlman of Win4Lin was at my beck and call for the duration of my testing. I got my evaluation copy of Win4Lin within 24 hours of asking for it and follow up e-mails as time went on. I rarely waited more than a few hours to get answers to my questions. VMware, on the other hand, barely gave me the time of day.

I told VMware that I would be evaluating its product for a magazine article at the same time I told Win4Lin. VMware returned my e-mail six days later and then told me that they were going to snail mail me a copy of the application. Fifteen days later, I still didn't have it, but an e-mail with a VMware license key popped up in my inbox four days ago without any preamble or explanation of what it was for. Unfortunately, the e-mail wasn't useful because the download instructions with it didn't reflect the actual layout of the VMware Web site. As I write this it's been 21 days since I asked for a review copy and support from VMware and I've gotten neither. I can't help but wonder what would happen if I was a regular user who needed support.

Installation
Both products took the same time to install. There are really two installs with these virtual machine-type applications. The first being the installation of the application itself and the second the Windows installation in the newly minted virtual machine.

The VMware installation took 15 minutes to install once I had the toolchain. Then I installed my Dell recovery Windows XP SP1 CD in my new virtual machine, which took an hour and six minutes.

Win4Lin took 25 minutes to install, and another 60 minutes to get my trusty Windows SP1 CD installed and running.

Win4Lin put a launch icon on my desktop while VMware put itself under my Kicker -> System menu.

Performance
I put both products through their paces, but first I wanted to see how they performed out-of-the-box with simple startups and shutdowns. Table 1 shows these rudimentary metrics and how they compare against a native Windows XP Home SP2 install.

Win4Lin has a quicker launch and comparable shutdown time than VMware. When you take into consideration that Win4Lin has terminated at this point while VMware is still running - the shutdown times come even closer together.

During the test I had to reinstall both products at least once because of network interface problems. At one point VMware failed to launch complaining that it had been installed but not configured despite running fine for several days. A quick system survey showed that all of my network interfaces, including VMware's vmnet interfaces had gone AWOL. I had to re-run the VMware configuration script to get back up and running.

On another occasion, my local loopback interface (lo) failed to come up and that stopped Win4Lin dead in its tracks. Bringing it up manually restored Win4Lin for me.

I'm not convinced that either of these incidences were the fault of the products since it's not unheard of for my testing platform to exhibit unusual behavior with Linux apps from time to time. Thankfully, in both cases, my precious Windows XP images, which I had painstakingly upgraded to SP2, were still intact.

Show Time
When I'm not writing magazine articles or blogging, I produce a weekly podcast named The JaK Attack!. I use the wonderful and free Audacity audio editor to record, edit, and encode my shows. I decided to use the Windows version of Audacity to put Win4Lin and VMware through their paces. This process is a good benchmark because it's practical in a number of ways:

  1. It tests the USB connectivity because I use a thumb drive to move the raw audio files around
  2. It tests the sound card functionality because I need to listen to the audio to edit it
  3. It tests the video responsiveness because I have to grab and drag chunks of audio around during editing, and
  4. It tests CPU usage because crunching a big WAV file into a small OGG Vorbis file takes a considerable amount of memory and CPU cycles.
I thought that it might be interesting to compare not only how the two products did against each other, but also against a native Windows XP Home install. On all platforms I took a 34MB WAV file, did some rudimentary editing, and then told Audacity to encode it into an OGG Vorbis file at three different quality levels: 0, 5, and 10. The encoding process is really the only solid measurement that spans all systems, so that's what we'll look at. Table 2 shows how the three products fared.

Clearly, VMware Takes the Cake for Speed Here
Comparing products such as VMware and Win4Lin can be difficult. While most users would likely be looking at these products to host more run-of-the-mill applications than my Audacity, there's no real concrete way to measure how much faster an office product or Web browser performs one over the other. I didn't want to run a boring old benchmark application on both platforms. I wanted a real practical test that had some CPU intensity to it. Crunching audio fit the bill nicely.

The CPU metrics are only part of the evaluation; there are other areas to take into consideration.

Functionality
I was surprised to find out that neither product supported the two USB memory sticks that I regularly use on both my Windows and Linux machines. Neither my 256MB Sony MicroVault nor my Kasercorp 2.2GB Jumbo Drive were recognized by either VMware or Win4Lin despite the fact that both devices are USB 2.0-compliant. I tried hotplugging the drives while the Windows guest was running as well as inserting the drives before launching the guest systems. The drives remained silent.

Win4Lin automatically creates a "HOME on host" share folder on the guest Windows' desktop that represents the current user's home directory. This is a great little extra that VMware doesn't offer. You can certainly gain access to the host's file system in VMware, but you have to add it as a share using the VM -> Settings menu. Not hard, but not obvious, either.

Interface
Both applications provide a nearly seamless interface for mouse movement. I was able to glide my mouse around my entire desktop and manipulate objects regardless of which desktop they resided on. I was surprised by this functionality in VMware because other versions I've used required me to press control-alt to release the mouse cursor from the virtual machine back onto the host desktop.

VMware sports a tabbed interface at launch to select a guest operating system. It's well laid out but not required in Win4Lin since Win4Lin is designed to run a single instance of Windows. (See Figure 1)


More Stories By Jon Watson

Jon Watson is a Canadian GNU/Linux enthusiast. After producing 30 episodes of the GNU/Linux User show, Jon and Kelly Penguin Girl now produce the weekly JaK Attack! podcast (http://www.thepurplepodcaster.com/thejakattack). Jon has had articles on podcasting with FLOSS tools published in The Linux Journal (April '06), Linux Magazine (May '06), and Sitepoint (May '06). When not podcasting, he can be found blogging on b5 Media's New Linux User blog (http://www.newlinuxuser.com) or his own personal blog, Tales from the Motherboard (http://www.jonwatson.ca).

Comments (15)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
SYS-CON Events announced today that Aria Systems, the recurring revenue expert, has been named "Bronze Sponsor" of SYS-CON's 15th International Cloud Expo®, which will take place on November 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Aria Systems helps leading businesses connect their customers with the products and services they love. Industry leaders like Pitney Bowes, Experian, AAA NCNU, VMware, HootSuite and many others choose Aria to power their recurring revenue business and deliver exceptional experiences to their customers.
WebRTC defines no default signaling protocol, causing fragmentation between WebRTC silos. SIP and XMPP provide possibilities, but come with considerable complexity and are not designed for use in a web environment. In his session at Internet of @ThingsExpo, Matthew Hodgson, technical co-founder of the Matrix.org, will discuss how Matrix is a new non-profit Open Source Project that defines both a new HTTP-based standard for VoIP & IM signaling and provides reference implementations.
The Internet of Things (IoT) is going to require a new way of thinking and of developing software for speed, security and innovation. This requires IT leaders to balance business as usual while anticipating for the next market and technology trends. Cloud provides the right IT asset portfolio to help today’s IT leaders manage the old and prepare for the new. Today the cloud conversation is evolving from private and public to hybrid. This session will provide use cases and insights to reinforce the value of the network in helping organizations to maximize their company’s cloud experience.

SUNNYVALE, Calif., Oct. 20, 2014 /PRNewswire/ -- Spansion Inc. (NYSE: CODE), a global leader in embedded systems, today added 96 new products to the Spansion® FM4 Family of flexible microcontrollers (MCUs). Based on the ARM® Cortex®-M4F core, the new MCUs boast a 200 MHz operating frequency and support a diverse set of on-chip peripherals for enhanced human machine interfaces (HMIs) and machine-to-machine (M2M) communications. The rich set of periphera...

The Internet of Things (IoT) is making everything it touches smarter – smart devices, smart cars and smart cities. And lucky us, we’re just beginning to reap the benefits as we work toward a networked society. However, this technology-driven innovation is impacting more than just individuals. The IoT has an environmental impact as well, which brings us to the theme of this month’s #IoTuesday Twitter chat. The ability to remove inefficiencies through connected objects is driving change throughout every sector, including waste management. BigBelly Solar, located just outside of Boston, is trans...
SYS-CON Events announced today that Matrix.org has been named “Silver Sponsor” of Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Matrix is an ambitious new open standard for open, distributed, real-time communication over IP. It defines a new approach for interoperable Instant Messaging and VoIP based on pragmatic HTTP APIs and WebRTC, and provides open source reference implementations to showcase and bootstrap the new standard. Our focus is on simplicity, security, and supporting the fullest feature set.
Predicted by Gartner to add $1.9 trillion to the global economy by 2020, the Internet of Everything (IoE) is based on the idea that devices, systems and services will connect in simple, transparent ways, enabling seamless interactions among devices across brands and sectors. As this vision unfolds, it is clear that no single company can accomplish the level of interoperability required to support the horizontal aspects of the IoE. The AllSeen Alliance, announced in December 2013, was formed with the goal to advance IoE adoption and innovation in the connected home, healthcare, education, aut...
SYS-CON Events announced today that Red Hat, the world's leading provider of open source solutions, will exhibit at Internet of @ThingsExpo, which will take place on November 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA. Red Hat is the world's leading provider of open source software solutions, using a community-powered approach to reliable and high-performing cloud, Linux, middleware, storage and virtualization technologies. Red Hat also offers award-winning support, training, and consulting services. As the connective hub in a global network of enterprises, partners, a...
The only place to be June 9-11 is Cloud Expo & @ThingsExpo 2015 East at the Javits Center in New York City. Join us there as delegates from all over the world come to listen to and engage with speakers & sponsors from the leading Cloud Computing, IoT & Big Data companies. Cloud Expo & @ThingsExpo are the leading events covering the booming market of Cloud Computing, IoT & Big Data for the enterprise. Speakers from all over the world will be hand-picked for their ability to explore the economic strategies that utility/cloud computing provides. Whether public, private, or in a hybrid form, clo...
Software AG helps organizations transform into Digital Enterprises, so they can differentiate from competitors and better engage customers, partners and employees. Using the Software AG Suite, companies can close the gap between business and IT to create digital systems of differentiation that drive front-line agility. We offer four on-ramps to the Digital Enterprise: alignment through collaborative process analysis; transformation through portfolio management; agility through process automation and integration; and visibility through intelligent business operations and big data.
The Transparent Cloud-computing Consortium (abbreviation: T-Cloud Consortium) will conduct research activities into changes in the computing model as a result of collaboration between "device" and "cloud" and the creation of new value and markets through organic data processing High speed and high quality networks, and dramatic improvements in computer processing capabilities, have greatly changed the nature of applications and made the storing and processing of data on the network commonplace.
Be Among the First 100 to Attend & Receive a Smart Beacon. The Physical Web is an open web project within the Chrome team at Google. Scott Jenson leads a team that is working to leverage the scalability and openness of the web to talk to smart devices. The Physical Web uses bluetooth low energy beacons to broadcast an URL wirelessly using an open protocol. Nearby devices can find all URLs in the room, rank them and let the user pick one from a list. Each device is, in effect, a gateway to a web page. This unlocks entirely new use cases so devices can offer tiny bits of information or simple i...
Things are being built upon cloud foundations to transform organizations. This CEO Power Panel at 15th Cloud Expo, moderated by Roger Strukhoff, Cloud Expo and @ThingsExpo conference chair, will address the big issues involving these technologies and, more important, the results they will achieve. How important are public, private, and hybrid cloud to the enterprise? How does one define Big Data? And how is the IoT tying all this together?
The Internet of Things (IoT) is going to require a new way of thinking and of developing software for speed, security and innovation. This requires IT leaders to balance business as usual while anticipating for the next market and technology trends. Cloud provides the right IT asset portfolio to help today’s IT leaders manage the old and prepare for the new. Today the cloud conversation is evolving from private and public to hybrid. This session will provide use cases and insights to reinforce the value of the network in helping organizations to maximize their company’s cloud experience.
TechCrunch reported that "Berlin-based relayr, maker of the WunderBar, an Internet of Things (IoT) hardware dev kit which resembles a chunky chocolate bar, has closed a $2.3 million seed round, from unnamed U.S. and Switzerland-based investors. The startup had previously raised a €250,000 friend and family round, and had been on track to close a €500,000 seed earlier this year — but received a higher funding offer from a different set of investors, which is the $2.3M round it’s reporting."
The Industrial Internet revolution is now underway, enabled by connected machines and billions of devices that communicate and collaborate. The massive amounts of Big Data requiring real-time analysis is flooding legacy IT systems and giving way to cloud environments that can handle the unpredictable workloads. Yet many barriers remain until we can fully realize the opportunities and benefits from the convergence of machines and devices with Big Data and the cloud, including interoperability, data security and privacy.
All major researchers estimate there will be tens of billions devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades. Over the summer Gartner released its much anticipated annual Hype Cycle report and the big news is that Internet of Things has now replaced Big Data as the most hyped technology. Indeed, we're hearing more and more about this fascinating new technological paradigm. Every other IT news item seems to be about IoT and its implications on the future of digital busines...
Cultural, regulatory, environmental, political and economic (CREPE) conditions over the past decade are creating cross-industry solution spaces that require processes and technologies from both the Internet of Things (IoT), and Data Management and Analytics (DMA). These solution spaces are evolving into Sensor Analytics Ecosystems (SAE) that represent significant new opportunities for organizations of all types. Public Utilities throughout the world, providing electricity, natural gas and water, are pursuing SmartGrid initiatives that represent one of the more mature examples of SAE. We have s...
The Internet of Things needs an entirely new security model, or does it? Can we save some old and tested controls for the latest emerging and different technology environments? In his session at Internet of @ThingsExpo, Davi Ottenheimer, EMC Senior Director of Trust, will review hands-on lessons with IoT devices and reveal privacy options and a new risk balance you might not expect.
IoT is still a vague buzzword for many people. In his session at Internet of @ThingsExpo, Mike Kavis, Vice President & Principal Cloud Architect at Cloud Technology Partners, will discuss the business value of IoT that goes far beyond the general public's perception that IoT is all about wearables and home consumer services. The presentation will also discuss how IoT is perceived by investors and how venture capitalist access this space. Other topics to discuss are barriers to success, what is new, what is old, and what the future may hold.