DEfusion
2008-Jul-03 13:15 UTC
Autotest really slow to detect updates when sharing codebase with VM
Ok I have my dev environment setup like so: Local machine (OS X) has the codebase and shares via NFS. VM (Ubuntu) runs the app, has everything setup and mounts the codebase from the NFS share on the Mac. I use SSH to run stuff like autotest etc. on my VM and everything works fine. However autotest is slow to detect file changes, I just did a couple of tests: - saving file in textmate, time for autotest to detect change: 12s, 5s, 8s, 8s - touching file: 15s, 3s, 6s It used to be almost instantaneous when I wasn''t sharing code like this, does anyone know of anything I can do to improve the time it takes autotest to pickup the changes? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
DEfusion
2008-Jul-04 11:31 UTC
Re: Autotest really slow to detect updates when sharing codebase with VM
Well I changed my shares to use samba and it''s a lot better now, dunno if there is some sort of timeout with NFS that I needed to tweak. It was very annoying and made autotest pretty pointless. On Jul 3, 2:15 pm, DEfusion <david.sp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Ok I have my dev environment setup like so: > > Local machine (OS X) has the codebase and shares via NFS. > VM (Ubuntu) runs the app, has everything setup and mounts the codebase > from the NFS share on the Mac. > > I use SSH to run stuff like autotest etc. on my VM and everything > works fine. > > However autotest is slow to detect file changes, I just did a couple > of tests: > > - saving file in textmate, time for autotest to detect change: 12s, > 5s, 8s, 8s > - touching file: 15s, 3s, 6s > > It used to be almost instantaneous when I wasn''t sharing code like > this, does anyone know of anything I can do to improve the time it > takes autotest to pickup the changes?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---