Hi! What can i do to speed up executing my Rails app on my personal PC at home on localhost? It''s really slllooooooow. I have Pentium 3GHz (1 core), 512MB RAM, Windows XP and i deploy my app as JRuby on GlassFish V3. Help please... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 10 Oct 2007, at 18:52, Rav wrote:> What can i do to speed up executing my Rails app on my personal PC at > home on localhost? It''s really slllooooooow. > I have Pentium 3GHz (1 core), 512MB RAM, Windows XP and i deploy my > app as JRuby on GlassFish V3. > Help please...Install Linux? (either by dual boot or just throw away windows) Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
no alternative idea? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Rav wrote:> no alternative idea? >FreeBSD seems nice too... You use an OS reputed to be bloatware and run a JVM (which isn''t reputed to be a lightweight piece of software either) to run Ruby on a 512MB system. What do you expect? If you have money to spend, buy memory (but know that you won''t get the most out of your system if you don''t use Unix, Ruby on Windows is slow even if you use JRuby). If you only have time, install an OS that can be trimmed down easily, learn to use it and run bare Ruby on it. If you have neither, prey for a miracle. Lionel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Also, if you are running things in development mode, the files are reloaded each time a page is hit. In production these are loaded once and cached. Lastly, I use NetBSD. But anything is better than windoze. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Boo to the naysayers. Windows works just fine for Rails development. Production deployment is also possible but there are many caveats. My book outlines how to install everything on Windows to work just fine for development purposes. You can get the PDF at http://www.oreilly.com/catalog/railsonwindows/ However, I cannot vouch for the performance of JRuby on Windows. I imagine that this additional layer might not work as well as standard Ruby. Can you try deploying with the One click Ruby installer and Mongrel? This would allow you to determine if it''s JRuby. On 10/10/07, Michael Graff <skan.gryphon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Also, if you are running things in development mode, the files are > reloaded each time a page is hit. In production these are loaded once > and cached. > > Lastly, I use NetBSD. But anything is better than windoze. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 10/10/07, Rav <ravsobota-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi! > What can i do to speed up executing my Rails app on my personal PC at > home on localhost? It''s really slllooooooow. > I have Pentium 3GHz (1 core), 512MB RAM, Windows XP and i deploy my > app as JRuby on GlassFish V3. > Help please...Add RAM before you try anything else. 512Mb is not enough to run all that. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I agree, definitely add more RAM. At least 1GB, even 2GB would be pretty inexpensive. On Oct 10, 6:52 pm, Rav <ravsob...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi! > What can i do to speed up executing my Rails app on my personal PC at > home on localhost? It''s really slllooooooow. > I have Pentium 3GHz (1 core), 512MB RAM, Windows XP and i deploy my > app as JRuby on GlassFish V3. > Help please...--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Oct 11, 6:50 am, "Marston A." <mars...-8Qo2DTIsO68RmelmmXo44Q@public.gmane.org> wrote:> I agree, definitely add more RAM. At least 1GB, even 2GB would be > pretty inexpensive. > > On Oct 10, 6:52 pm, Rav <ravsob...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi! > > What can i do to speed up executing my Rails app on my personal PC at > > home on localhost? It''s really slllooooooow. > > I have Pentium 3GHz (1 core), 512MB RAM, Windows XP and i deploy my > > app as JRuby on GlassFish V3. > > Help please...--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I use Rails on various systems and several XP among them. It works fine on all of them. Even I do not use JRuby the OS is no problem for RoR development. You should see what takes the most of the processing time from log times. Also you should measure how much resources are you taken from the system (task manager). Then you probably have a better view how is responsible for slowness. If you use NetBeans it is possible that you have not enough memory and than swapping is killing the performance. On Oct 11, 6:50 am, "Marston A." <mars...-8Qo2DTIsO68RmelmmXo44Q@public.gmane.org> wrote:> I agree, definitely add more RAM. At least 1GB, even 2GB would be > pretty inexpensive. > > On Oct 10, 6:52 pm, Rav <ravsob...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi! > > What can i do to speed up executing my Rails app on my personal PC at > > home on localhost? It''s really slllooooooow. > > I have Pentium 3GHz (1 core), 512MB RAM, Windows XP and i deploy my > > app as JRuby on GlassFish V3. > > Help please...--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---