Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7073581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:56:48+00:00 2026-05-28T05:56:48+00:00

I run a virtual copy of Debian on VirtualBox to develop a larger-sized PHP

  • 0

I run a virtual copy of Debian on VirtualBox to develop a larger-sized PHP application on a nginx/php5-fpm/MySQL stack. Development happens in the host OS (Windows 7 x64), the code is mounted as a shared folder in the guest OS.

Performance is very bad. The following are webgrind outputs for the native vbox filesystem and a samba mount with cifs:

vboxfs profiling
smbfs profiling

In either case filemtime, file_exists and is_readable take several seconds to run. CPU load is very high, memory usage seems normal.

Isn’t the output of all three of these functions cached in the stat cache? Why are they taking so long?

I’d really appreciate any help I can get!

Edit: To clarify, production performance is fine. On our (proper, non-virtual) staging server the PHP code executes in ~60ms max in production settings and somewhere between 100-200ms in dev mode.

I need help figuring out why VirtualBox is 100x slower in dev & prod mode.

I just checked, production settings yield ~5sec execution. Still unusable, plus it’s awkward to develop with.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:56:48+00:00Added an answer on May 28, 2026 at 5:56 am

    Use nfs file sharing. Samba and the vbox file share can be very slow.

    Your profiling indicates that file system operations are the bottleneck.

    Read this blog post http://clock.co.uk/tech-blogs/virtualbox-404-shared-folder-update for more insight

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to run a virtual LAMP machine on my windows 7 for
I have a need to run a relatively large number of virtual machines on
I have Virtual PC 2007. I am writing a C# program that will run
If hardware support is a must for virtualization, how can Java Virtual Machines run
I'm working on a 32-bit windows application that can occasionally run out of memory
I run a Mac Pro using parallels to run numerous virtual machines. I am
Ive been able to compile an android application in netbeans and run it by
I have VS2010 on my dev machine (Win7) and I run a virtual machine
When I run it with NetBeans it's all OK. When I copy dist directory
I wanted to run a .net application on a laptop. I created the application(aspx

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.