More news - there are still 25K files - fileset creation is still running. - Alexey.
On 10/28/05, Alexey Solofnenko <[EMAIL PROTECTED]> wrote: > > This is a Jython script generates about 25K files in 4 level directory > hierarchy. Simple <delete><fileset dir="build/test"/></delete> has been > running for 7 minutes and did not yet complete. > > ========================================= > # generate > import fileutils > import os > > text="some boring text\n"*100 > > def generate(level, path): > for i in range(1, 20): > fileutils.writeFile (path+'/'+str(i)+'.txt', text) > > if level>0: > for i in range(1, 5): > newpath=path+'/'+str(i) > os.mkdir(newpath) > generate(level-1, newpath) > > test_dir='build/test' > os.mkdir(test_dir) > generate(5, test_dir) > ================================= > > I can send you TGZ - it is about 570K. > > - Alexey. > > On 10/28/05, Alexey Solofnenko <[EMAIL PROTECTED]> wrote: > > > > Good idea, I will have one generated. In the real build, there is > > nothing special - I just remove one directory that is about 1GB size and > > with about 21K files. There are 2x2 (hyper threading) processors and during > > file deletion one CPU is at 100%. > > > > - Alexey. > > > > On 10/28/05, Matt Benson < [EMAIL PROTECTED]> wrote: > > > > > > Alexey, can you send a buildfile to the list (or enter > > > in bugzilla) that will create a file structure that > > > will exhibit the problem? > > > > > > -Matt > > > > > > --- "Alexey N. Solofnenko" < [EMAIL PROTECTED]> > > > wrote: > > > > > > > It takes about 2 and a half minutes to delete 20K > > > > files with last winter > > > > build, but with the latest ANT build takes about 6 > > > > minutes. I do not > > > > know when it started to happen. > > > > > > > > - Alexey. > > > > > > > > -- > > > > > > > > > > ------------------------------------------------------------------------ > > > > / Alexey N. Solofnenko > > > > home: http://trelony.cjb.net/ > > > > / > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > __________________________________ > > > Start your day with Yahoo! - Make it your home page! > > > http://www.yahoo.com/r/hs > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Alexey N. Solofnenko trelony at gmail.com <http://gmail.com> > > home: http://trelony.cjb.net/ > > Pleasant Hill, CA (GMT-8 hours usually) > > > > > > -- > Alexey N. Solofnenko trelony at gmail.com <http://gmail.com> > home: http://trelony.cjb.net/ > Pleasant Hill, CA (GMT-8 hours usually) > -- Alexey N. Solofnenko trelony at gmail.com <http://gmail.com> home: http://trelony.cjb.net/ Pleasant Hill, CA (GMT-8 hours usually)