On Wed, Aug 01, 2007 at 09:49:26AM -0700, Sergey Chechelnitskiy wrote:
Hi Sergey,
> 
> I have a flat directory with a lot of small files inside. And I have a java 
> application that reads all these files when it starts. If this directory is 
> located on ZFS the application starts fast (15 mins) when the number of files 
> is around 300,000 and starts very slow (more than 24 hours) when the number 
> of files is around 400,000. 
> 
> The question is why ? 
> Let's set aside the question why this application is designed this way.
> 
> I still needed to run this application. So, I installed a linux box with XFS, 
> mounted this XFS directory to the Solaris box and moved my flat directory 
> there. Then my application started fast ( < 30 mins) even if the number of 
> files (in the linux operated XFS directory mounted thru NSF to the Solaris 
> box) was 400,000 or more. 
> 
> Basicly, what I want to do is to run this application on a Solaris box. Now I 
> cannot do it.

Just a rough guess - this might be a Solaris threading problem. See
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6518490

So perhaps starting the app with -XX:-UseThreadPriorities may help ...

Regards,
jel.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to