16 Dec 2010

Disable VMware Fusion's vmnet-* daemons on Mac OS X

VMware Fusion initializes some daemons (vmnet-bridge, vmnet-dhcpd, vmnet-netifup, vmnet-natd) at startup. The number of processes depends on the number of network interfaces you have configured. This might slow down your system startup.

Why is it necessary for them to load at system startup rather than application startup?

You need administrator privileges to load kernel extensions (which really makes sense), and these really do need to be kernel extensions (running a virtual machine at acceptable speed requires low-level access), so rather than prompting users for this when they start Fusion (and remember, they might not even know/have the password), we have the kexts get loaded at boot time. Advanced users can certainly disable this and manually start the services when needed.

Source

Here is an example how it could look like:

I don't use VMware Fusion often and want the daemons only to start up if it's necessary. The script to initialize the daemons is located at /Library/Application Support/VMware Fusion/boot.sh and is invoked by the LaunchDaemon script which is located at /Library/LaunchDaemons/com.vmware.launchd.vmware.plist.

  1. deactivate the LaunchDaemon script: "sudo launchctl unload -w /Library/LaunchDaemons/com.vmware.launchd.vmware.plist"
  2. use an apple script to start the boot.sh-script and VMware Fusion:

Here is a short how-to to get the script runnning:

(download)

21 Nov 2010

My first Mac OS X project

I have some projects for Mac OS X in mind where I still have not found anything suitable on the web. Most of this projects are tools for developers/administrators as myself to simplify life. A couple of days ago I started to work on one of this projects and over the next weeks I want to share some of the experiences.

Development

Tutorials:

Libraries:

Maintenance

Distribution

How to sell your product, secure it against crackers, handle license keys, etc.?

8 Aug 2010

fast as lightning - again

2010-08-06_1803

I have a lot of stuff on my Mac Book Pro. Especially for my
work i need a lot of applications and services running at the same
time, e.g. VMWare, MSSQL Server, PostgreSQL, MySQL, Apache, Eclipse,
Firefox, Safari, Xcode, and so on, not forgetting the applications
that make you feel comfortable at work like iTunes :-) . And because
it's a Mac, you'll never turn it off. I'm actually wondering why this
device has an on-off switch - probably it's just an on switch (just
kidding).

However, for a long time I was very excited how well everything
performs, but at some point you notice the latency gaps between a
click and the application response. Sooner or later, depending to your 
personal threshold of discomfort, you will decide to do something
against these latency issues.

I got 8GB RAM and guess what ... it's fast as lightning - again :)