Alan Mackenzie wrote:

> Hi, Gentoo.
> 
> I've just built libreoffice-3.6.6.2 and it took 2 hours 10 minutes on my
> 2.6 GHz quad core Athlon 2.  It used to take about an hour.
> 
> Watching the build, it became evident that the first 50 minutes or so
> was taken up by several hundred mkdir operations (more precisely, mkdir
> -p <long path>).  Some of these mkdir's would take, perhaps, a minute to
> execute.  All the while, top showed make taking 100% of one core.
> 
> There seems to be something suboptimal here.  Has anybody else seen
> this, or does anybody have any ideas how to fix the problem?

Just to test the file system, you may copy a large tree with "cp -l" within 
the same partition, since it creates only hard links, no data is actually 
copied.

- Jörg


Reply via email to