[Zope] performance problems
Dieter Maurer
dieter@handshake.de
Tue, 18 Mar 2003 22:47:17 +0100
Jerome Alet wrote at 2003-3-18 14:19 +0100:
> during a training session this morning, I told the seven students to
> install Zope on their personnal account on a Samba server from their
> W2K workstations but to run it "locally" through the network.
>
> network is full-duplex 100 MBits/s, workstations are 1.8 Ghz PIVs
> with 768 Mb RAM, server is Bi-Xeon 2.4 Ghz with 1 Gb RAM, and a
> raid5 array, under Linux.
>
> When each student started his Zope instance, I found that
> performance wasn't impressive at all, and that Samba used a lot of
> CPU ressources. It worked though, and I see no error or warning in
> Samba's log files.
>
> Is it "normal" ? (this was the first time I used such a configuration,
> the room is brand new)
It is not unusual:
When Zope starts, it reads hundreds of Python sources,
"*.pyc" files and loads shard objects.
That takes quite some time...
When Zope starts, it must read the complete "Data.fs" to
build its index (unless an index had been written on
shutdown). Depending on the size of "Data.fs"
this can take quite long.
Dieter