[CentOS] OT? File order on CentOS/Samba server

Miguel Medalha miguelmedalha at sapo.pt
Sat Jan 24 20:24:35 UTC 2009

> (...) add the definition of a bubble sort routine before
> that (which I got from Wikipedia), and then modify /RunDir into the
> snippet below. (...)
Thank you for caring to look for and post the code.

At first I became very excited about it. But then I tried it...

It does work. The problem is that it suffers from the same illness as 
runfilex does: it takes forever. The process starts very swiftly but 
each new processed page takes longer and longer until it all slows to a 
crawl. Worse yet, Distiller goes on to use enormous (> 90%) amounts of 
CPU time.

I just measured the process as folllows, for the same set of files, 
corresponding to a 32 page publication in A3 format:

rundirex: 3m42s
runfilex: 1h29m54s
Wikipedia code: 1h14m55s

It would be faster with the computers we have at work (runfilex takes 
about 40m) but you can see the relative magnitudes here.
It really is not an option for the stressful environment of a closing 

I suppose I will end up creating a FAT32 partition on the server just 
for this purpose.

Thank you again for pointing me to the "PostScript FAQ" Wikipedia page. 
It reminded me of the times when I was reading it on BBS'es with the 
help of a 2400 bps modem link... :-)

More information about the CentOS mailing list