Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Sugar Speed Increase Tips?

  1. #1
    jmforums is offline Junior Member
    Join Date
    Mar 2008
    Posts
    1

    Default Sugar Speed Increase Tips?

    Hey Everyone, I finally got Sugar community edition installed with the hopes of getting more organized for my clients and projects that I'm working on. However, it's hard to justify the organizational benefits of Sugar vs the time it seems to take to get the database to load up and input all the information. Are there any tips I can do to speed it up? I have phpmyadmin installed, though I don't know how to use it. So I just wanted to see if anyone could offer some quick tips to speeding up the program. Thanks in advance!

  2. #2
    JVWay is offline Sugar Community Member
    Join Date
    Sep 2007
    Location
    Corvallis, Oregon
    Posts
    452

    Default Re: Sugar Speed Increase Tips?

    Well, what are you running it. Pretty hard to suggest anything.

    OS, Database, Hardware?
    Jerry Way
    Business Process Administrator

    Sugar 6.1.4 Professional
    (Testing 6.1.2)
    LAMP on Centos 5
    PHP 5
    MySQL 5
    Apache 2.2

  3. #3
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Sugar Speed Increase Tips?

    My first two recommendations when people ask about making SugarCRM perform better are 1) use one of the installers we provide as they are pre-tuned and/or 2) use a PHP accelerator for session caching such as Zend Platform or APC.

    Here is a Sugar Wiki article on performance tweaks worth reading.

    Here is a recent blog post on scaling SugarCRM on Sun hardware with guidelines on scaling that they did for the tests. It also points to a great MySQL performance tuning blog post.

    And finally we will be providing a webcast on March 19th where one our performance engineer will discuss database tuning for SugarCRM.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  4. #4
    Join Date
    Feb 2007
    Location
    San Jose, CA
    Posts
    1,169

    Default Re: Sugar Speed Increase Tips?

    In addition to Clint's excellent suggestions, please check out two podcasts we have produced that give some additional tips. One is called Performance Tips and the other is called Performance Tweaks.

    The Podcast Page also contains transcripts of each podcast if you'd rather read than hear the information.
    Susie Williams

  5. #5
    smellygig is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    NYC
    Posts
    31

    Unhappy Re: Sugar Speed Increase Tips?

    Have been using Sugar for years waiting for performance improvements to really integrate with our business. Have hired some Sugar partners in the past to improve this but still close to unusable. Was going to wait till next stable version of Sugar (5.0d I would hope) but that is not till July now so have to do something in the meantime.

    We host this on a dedicated Pentium 4 - 2.4ghz - 2-80GB HD - 1 GB RAM
    When 1 user is in Sugar and I am checking top the server is only using ~250mb and average load .2%
    Upgrading to 4gb memory even though seems unnecessary

    PHP Version 4.4.4
    MySQL - 4.1.20
    Apache/2.0.52 (Red Hat)
    JSON installed
    Disabled DetailView VCR Control (4.2.1+)
    Sugarlite theme

    Locally using Firefox 2 with FasterFox - Turbocharged - 768k SDSL dedicated line
    Home page after login ~24 secs
    Leads List ~23 secs (~1200 leads)
    Leads Detail ~19 secs (only history and activities sub panels expanded - no records in either)

    We only use Sugar to manage leads, opportunities and archive emails. It is too slow to use in real time when on phone with customer.

    Any ideas on what to try next?

    Also forgot to mention the following:
    eAccelerator Version 0.9.5
    json version 1.2.1


    Thanks,
    Alex
    Last edited by smellygig; 2008-03-17 at 11:55 PM.

  6. #6
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Sugar Speed Increase Tips?

    I'm not sure which version of Sugar you are so not knowing I'd recommend upgrading to the latest PHP and MySQL versions and then most importantly reindex your database. Check out http://dev.mysql.com/doc/userguide/e...g-explain.html for a good start on optimizing your Sugar database indexes. You could see page loads improve to just a couple of seconds with proper indexes in place. We had the same issue and after reindexing and setting up plans to reindex on a nightly basis we saw drastic performance improvements.

  7. #7
    smellygig is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    NYC
    Posts
    31

    Default Re: Sugar Speed Increase Tips?

    Knew I forgot something

    SugarCRM Version 4.5.1e (Build 1049)

    Will try the reindex. Any pointers to what tables to focus on?

    Thanks,
    Alex
    Last edited by smellygig; 2008-03-18 at 01:00 AM.

  8. #8
    JVWay is offline Sugar Community Member
    Join Date
    Sep 2007
    Location
    Corvallis, Oregon
    Posts
    452

    Default Re: Sugar Speed Increase Tips?

    Quote Originally Posted by smellygig
    We host this on a dedicated Pentium 4 - 2.4ghz - 2-80GB HD - 1 GB RAM

    Locally using Firefox 2 with FasterFox - Turbocharged - 768k SDSL dedicated line
    Home page after login ~24 secs
    Leads List ~23 secs (~1200 leads)
    Leads Detail ~19 secs (only history and activities sub panels expanded - no records in either)

    Alex
    Are you saying it's taking almost _thirty seconds_ to load a page?

    I'm running my Sugar inside a VMware Server virtual machine and never see load times of more than .45 . That's point 45 Not even one second.

    If you can get it on a modern Intel XEON or AMD Opteron. Also fast hard drives will make a world of difference. By the size of your drives I'm guessing they're pretty slow. Get at least three SATA 7500 RPM drives. Get them into a RAID 0 + 1 configuration and you'll see tremendous speed increases. Really, unless you have a lot of users 1 - 2 GB ram is more than enough.

    Also, make sure your distro is stripped down. We run Ubuntu Linux with no X windows and only what we need to run Sugar.
    Jerry Way
    Business Process Administrator

    Sugar 6.1.4 Professional
    (Testing 6.1.2)
    LAMP on Centos 5
    PHP 5
    MySQL 5
    Apache 2.2

  9. #9
    smellygig is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    NYC
    Posts
    31

    Default Re: Sugar Speed Increase Tips?

    If you can get it on a modern Intel XEON or AMD Opteron. Also fast hard drives will make a world of difference. By the size of your drives I'm guessing they're pretty slow. Get at least three SATA 7500 RPM drives. Get them into a RAID 0 + 1 configuration and you'll see tremendous speed increases. Really, unless you have a lot of users 1 - 2 GB ram is more than enough.
    It's not a problem with the machine as shown by the top command. Not using any processor (<1% cpu) or more than 25% of physical ram. Hard drives are 7200rpm. These times are also with only 1 user.

    This has been an ongoing issue with Sugar and upgrading from previous server to current one as well as upgrading from 4.0 to 4.5.1 did not improve situation. Have gone through most performance tasks suggested and now going to try the DB indexes and or upgrade to MySql 5.0.

    Thanks,
    Alex

  10. #10
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Sugar Speed Increase Tips?

    Are the times you posted the server response times or are those calculations for the time it takes to render the page?

    Does the home page display faster if you remove the My Leads dashlet? If so, how much faster?

    What OS are your clients using? I've seen script scanning on antivirus software cause serious performance degradation.
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. So Long Sugar, and thanks for all the fish
    By alsutton in forum General Discussion
    Replies: 41
    Last Post: 2006-11-15, 07:57 PM
  2. Sugar speed of use
    By NickD in forum General Discussion
    Replies: 10
    Last Post: 2005-12-22, 11:21 AM
  3. Sugar Open Source 3.5.1e Available for Download
    By clint in forum Announcements
    Replies: 0
    Last Post: 2005-12-10, 06:29 AM
  4. Who is working on which translations?
    By clint in forum Translators
    Replies: 5
    Last Post: 2005-08-26, 02:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •