![]() There are a few ways to make this less painful when using NFS (since NFS incurs a slight overhead for every directory/file scan): ![]() For some reason, even simple pages like admin forms would take 2+ seconds to load, and digging into the situation with XHProf, I found a likely culprit: I was developing a relatively large Drupal site lately, with over 200 modules enabled, meaning there were literally thousands of files and hundreds of directories that Drupal would end up scanning/including on every page request. However, it has it's downsides: it requires extra effort to get running on Windows, requires NFS support inside the VM (not all Vagrant base boxes provide support by default), and is not actually all that fast-in comparison to native filesystem performance. NFS shared folders are a decent solution, and using NFS does indeed speed up performance quite a bit (usually on the order of 20-50x for a file-heavy framework like Drupal!). The most common recommendation is to switch to NFS for shared folders. ![]() Removing the package (before reinstalling the 4.4.x version) doesn't seem an option neither, because of its dependancies:Īt the end, I didn't succeed in mouting shared folders into my HDP 2.6.4.It's been a well-known fact that using native VirtualBox or VMWare shared folders is a terrible idea if you're developing a Drupal site (or some other site that uses thousands of files in hundreds of folders). Trying to update the kernel-devel/kernel-headers to match the 4.4.x version, I ended up with a conflict and I was unable to update the kernel-headers with the 4.4.x version. ![]() So we have a pre-requisite of our pre-requisite, which consists of " preparing guest for building external kernel modules"Īnd our HDP 2.6.4 doesn't seem ready: the running kernel (4.4.x id I'm right) and the kernel-devel and kernel-headers versions do not match), which is a condition that is checked during the installation process. In Virtualbox documentation Chapter 4 Guest Additions, it is said Not really ! The devil is inside the details. ![]() The instructions given in the article avoid to mention a setup pre-requisite which is "Installing VirtualBox Guest Additions" on the guest machine, that is to say installing it on our CentOS based HDP Sandbox VM. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |