I have an empty gradle project, with just the gradle wrapper setup in it. On a Centos 6.3 virtual machine in VirtualBox, with the gradle daemon running, it takes ~15-18 seconds to run ‘gradle tasks’. The same exact project in my Windows host takes ~1 second to run ‘gradle tasks’.
Is Linux performance a known issue? Or is it possibly just my setup that is being slow? I have not had Linux virtual machines (Debian) be slow before, but using Centos and Gradle is new to me, so I’m trying to narrow down which is the issue.
I cloned my repository to a Debian virtual machine I have, and gradle is lightning fast there. I think I’m just going to chalk this up to a poor VM setup.
For what it is worth, I discovered the reason for the slowness on the virtual machine. I used the default motherboard chipset in Virtualbox of “PIIX3”. Apparently there are general I/O issues with Red Hat distributions and that chipset in Virtualbox, and switching the chipset to “ICH9” got rid of the slowness.