• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Python anyone?

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Python anyone?

    Anyone know a great deal about python?

    I'm not interested to learn how to use it, more about getting it to run faster on a server I look after.

    The background is that the developers have moved a system that uses python from an old server to a brand spanking 8 cpu server.

    It actually runs 30% slower on the new box and they can't understand why.

    Any ideas (apart 'from python is crap')?

    #2
    What is it that is going slow?

    Is it CPU activity?
    Memory handling?
    Disk I/O?
    My all-time favourite Dilbert cartoon, this is: BTW, a Dumpster is a brand of skip, I think.

    Comment


      #3
      Did some googling...because I know nothing about Python and Zope..
      Could this be it? http://entitycrisis.blogspot.com/200...amentally.html
      McCoy: "Medical men are trained in logic."
      Spock: "Trained? Judging from you, I would have guessed it was trial and error."

      Comment


        #4
        Originally posted by RichardCranium View Post
        What is it that is going slow?

        Is it CPU activity?
        Memory handling?
        Disk I/O?

        The python process seems to hog 100% of just one processor, apparently it does this on the old server too. Memory and disk IO is fine.

        Comment


          #5
          Originally posted by lilelvis2000 View Post
          Did some googling...because I know nothing about Python and Zope..
          Could this be it? http://entitycrisis.blogspot.com/200...amentally.html
          Ah yes, sounds like it could be something along these lines.

          Now the question is, whats the best way round it ?
          (My guess is that there isn't a way round it without a complete rewrite of the code).

          Comment


            #6
            Originally posted by bellymonster View Post
            a complete rewrite of the code).
            I sense some work for a python dev soon...
            ‎"See, you think I give a tulip. Wrong. In fact, while you talk, I'm thinking; How can I give less of a tulip? That's why I look interested."

            Comment


              #7
              Originally posted by bellymonster View Post
              Ah yes, sounds like it could be something along these lines.

              Now the question is, whats the best way round it ?
              (My guess is that there isn't a way round it without a complete rewrite of the code).
              Apparently, if it is this GIL problem...and if you are on Windows...you can use IronPython. Don't know how much work it would take to change over.
              McCoy: "Medical men are trained in logic."
              Spock: "Trained? Judging from you, I would have guessed it was trial and error."

              Comment

              Working...
              X