is it possible that packing the data.fs can slow down performance?
Is it possible that packing the data.fs can slow down performance? (Was "Is somebody else having problems with the speed of their Zope-site...?") It is a theory from a guy (who actually isn't really a Zoper)... I am trying not to pack any data.fs's right now, and it seems that the site is "speeded up"... /Stoons :HeadNet: http://www.headnet.dk
Thomas @ HeadNet wrote:
Is it possible that packing the data.fs can slow down performance?
Yes, packing your data.fs is a costly operation.
Seb, Just to be clear, are you saying that *while* packing, zope will slow down (which is what I think you are saying) or that subsequent to packing, zope will stay slowed down (which is what I think Thomas is saying)? I don't see why the latter would be true. tim
Tim is right... what I mean is that (maybe) it makes the sytem slow even after it is finsished packing... /stoons ----- Original Message ----- From: "Tim Hicks" <tim@sitefusion.co.uk> To: "seb bacon" <seb@jamkit.com> Cc: <zope@zope.org>; "Thomas @ HeadNet" <stoons@headnet.dk> Sent: Thursday, March 21, 2002 11:50 PM Subject: Re: [Zope] is it possible that packing the data.fs can slow down performance?
Thomas @ HeadNet wrote:
Is it possible that packing the data.fs can slow down performance?
Yes, packing your data.fs is a costly operation.
Seb,
Just to be clear, are you saying that *while* packing, zope will slow down (which is what I think you are saying) or that subsequent to packing, zope will stay slowed down (which is what I think Thomas is saying)? I don't see why the latter would be true.
tim
Just to be clear, are you saying that *while* packing, zope will slow down (which is what I think you are saying) or that subsequent to packing, zope will stay slowed down (which is what I think Thomas is saying)? I don't see why the latter would be true.
It will be slower until the object cache has been filled up again, right? But otherwise I haven't noticed any difference.
On Fri, 22 Mar 2002 08:52:45 +0100, "Lennart Regebro" <lennart@torped.se> wrote:
Just to be clear, are you saying that *while* packing, zope will slow down (which is what I think you are saying) or that subsequent to packing, zope will stay slowed down (which is what I think Thomas is saying)? I don't see why the latter would be true.
Zope writes the packed data into a new file, renames the original file to Data.fs.old, and renames the new packed file to Data.fs. The question is: what can make one new file slower than an old one in the same directory? I guess there are lots of system-dependant things; fragmentation, or moving over to a slower disk if this filesystem is on LVM. Alternatively, packing is quite memory intensive. Its possible that packing could leave your zope process with fragmented memory. Try restarting the zope server.
It will be slower until the object cache has been filled up again, right?
No. Everything else, including the object cache, is unaffected by packing. Toby Dickenson tdickenson@geminidataloggers.com
participants (5)
-
Lennart Regebro -
seb bacon -
Thomas @ HeadNet -
Tim Hicks -
Toby Dickenson