RE: How many class files do YOU have?

2004-04-13 Thread Mark Johnson
Brook,
Well I was curious about your question so i went ahead and took a look at
how many class files we have.We also create cfm files on the fly for new
accounts etc.On checking we have 25,759 class files in the cfclasses
directory.All the suggestions below are accurate.Be sure to set your
template cache as high as is reasonable with the memory you have.Also the
jvm settings mentioned are very important.These things should all make a
huge difference in your performance.

 
Mark

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 12:25 PM
To: CF-Talk
Subject: How many class files do YOU have?

I repoted to this list awhile ago about really long start up times for one 
of my apps on the first run. It seems that this problem has been resolved 
by defragging the HD? The C:\CFusionMX\wwwroot\WEB-INF\cfclasses folder had 
a lot of fragmented files as well as other areas on the HD. Does that make 
sense?

Anyhow, I have 6,591 class files in my class folder taking up about 80 
megs. So, I am curious now how many class files ya'll have on your servers?

And another question related to disk usage; what are the guidelines for a 
paging file and is it needed if you have lots of physical ram? The reason I 
ask is because I wonder if a fragmented HD, and a page file on that disk 
might cause problems. I've had some JavaOutOfMemory errors, so I am looking 
for answers everywhere :)

Brook 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How many class files do YOU have?

2004-04-13 Thread Brook Davies
I thought Brandon said that with that many class files you would be better 
off not storing the class files to the HD and compiling them to memory at 
run time instead? Also, is the template cache setting the number of cfm 
templates or expected resulting class files?

Bradon also wrote:
I have some info on my blog http://bpurcell.org but to fix this bump up 
the -XX:MaxPermSize value in your jvm.config to 192 or 256 it should get 
rid of the problem.

Can I bump it up to 512?

Also, do these numbers look okay?

Description: JAR Launcher
Version: 4.00..63824
Handle count: 721
Threads: 50
Page fault count: 405529
Peak working set size: 1,118,192.00 KB
Working set size: 1,113,800.00 KB
Peak page file usage: 1,115,992.00 KB
Page file usage: 1,110,392.00 KB
Total memory usage: 2,224,192.00 KB
Command line: C:\CFusionMX\runtime\bin\jrun.exe

Brook

At 09:55 AM 4/13/2004, you wrote:

Brook,
Well I was curious about your question so i went ahead and took a look at
how many class files we have.We also create cfm files on the fly for new
accounts etc.On checking we have 25,759 class files in the cfclasses
directory.All the suggestions below are accurate.Be sure to set your
template cache as high as is reasonable with the memory you have.Also the
jvm settings mentioned are very important.These things should all make a
huge difference in your performance.


Mark

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 12:25 PM
To: CF-Talk
Subject: How many class files do YOU have?

I repoted to this list awhile ago about really long start up times for one
of my apps on the first run. It seems that this problem has been resolved
by defragging the HD? The C:\CFusionMX\wwwroot\WEB-INF\cfclasses folder had
a lot of fragmented files as well as other areas on the HD. Does that make
sense?

Anyhow, I have 6,591 class files in my class folder taking up about 80
megs. So, I am curious now how many class files ya'll have on your servers?

And another question related to disk usage; what are the guidelines for a
paging file and is it needed if you have lots of physical ram? The reason I
ask is because I wonder if a fragmented HD, and a page file on that disk
might cause problems. I've had some JavaOutOfMemory errors, so I am looking
for answers everywhere :)

Brook
_

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:159758This Message] 
[http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=905.825.4Fast 
Unsubscribe] [http://www.houseoffusion.com/signin/User Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=41
[]

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How many class files do YOU have?

2004-04-13 Thread Mark Johnson
Brook,

 
We don't have the option of compiling them to memory as I think that is only
a 6.1 thing.Regarding the template cache size.It is based on the number
of files that you think will be in use at one time.In our case not all
24,000 cf files will be used all the time so we set it to some reasonable
percentage of those files.75 - 80%.In your case you could probably do
all of them with no ill effects.

 
Mark

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 10:33 AM
To: CF-Talk
Subject: RE: How many class files do YOU have?

I thought Brandon said that with that many class files you would be better 
off not storing the class files to the HD and compiling them to memory at 
run time instead? Also, is the template cache setting the number of cfm 
templates or expected resulting class files?

Bradon also wrote:
I have some info on my blog http://bpurcell.org but to fix this bump up 
the -XX:MaxPermSize value in your jvm.config to 192 or 256 it should get 
rid of the problem.

Can I bump it up to 512?

Also, do these numbers look okay?

Description: JAR Launcher
Version: 4.00..63824
Handle count: 721
Threads: 50
Page fault count: 405529
Peak working set size: 1,118,192.00 KB
Working set size: 1,113,800.00 KB
Peak page file usage: 1,115,992.00 KB
Page file usage: 1,110,392.00 KB
Total memory usage: 2,224,192.00 KB
Command line: C:\CFusionMX\runtime\bin\jrun.exe

Brook

At 09:55 AM 4/13/2004, you wrote:

Brook,
Well I was curious about your question so i went ahead and took a look at
how many class files we have.We also create cfm files on the fly for new
accounts etc.On checking we have 25,759 class files in the cfclasses
directory.All the suggestions below are accurate.Be sure to set your
template cache as high as is reasonable with the memory you have.Also the
jvm settings mentioned are very important.These things should all make a
huge difference in your performance.


Mark

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED]
Sent: Friday, April 09, 2004 12:25 PM
To: CF-Talk
Subject: How many class files do YOU have?

I repoted to this list awhile ago about really long start up times for one
of my apps on the first run. It seems that this problem has been resolved
by defragging the HD? The C:\CFusionMX\wwwroot\WEB-INF\cfclasses folder had
a lot of fragmented files as well as other areas on the HD. Does that make
sense?

Anyhow, I have 6,591 class files in my class folder taking up about 80
megs. So, I am curious now how many class files ya'll have on your servers?

And another question related to disk usage; what are the guidelines for a
paging file and is it needed if you have lots of physical ram? The reason I
ask is because I wonder if a fragmented HD, and a page file on that disk
might cause problems. I've had some JavaOutOfMemory errors, so I am looking
for answers everywhere :)

Brook
_

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:159758This Message] 
[http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=905.825.4Fast

Unsubscribe] [http://www.houseoffusion.com/signin/User Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=41
[]
 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How many class files do YOU have?

2004-04-13 Thread Brook Davies
A 6.1 thing? What version are you running?

Brook

At 11:08 AM 4/13/2004, you wrote:

Brook,


We don't have the option of compiling them to memory as I think that is only
a 6.1 thing.Regarding the template cache size.It is based on the number
of files that you think will be in use at one time.In our case not all
24,000 cf files will be used all the time so we set it to some reasonable
percentage of those files.75 - 80%.In your case you could probably do
all of them with no ill effects.


Mark

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 10:33 AM
To: CF-Talk
Subject: RE: How many class files do YOU have?

I thought Brandon said that with that many class files you would be better
off not storing the class files to the HD and compiling them to memory at
run time instead? Also, is the template cache setting the number of cfm
templates or expected resulting class files?

Bradon also wrote:
I have some info on my blog http://bpurcell.org but to fix this bump up
the -XX:MaxPermSize value in your jvm.config to 192 or 256 it should get
rid of the problem.

Can I bump it up to 512?

Also, do these numbers look okay?

Description: JAR Launcher
Version: 4.00..63824
Handle count: 721
Threads: 50
Page fault count: 405529
Peak working set size: 1,118,192.00 KB
Working set size: 1,113,800.00 KB
Peak page file usage: 1,115,992.00 KB
Page file usage: 1,110,392.00 KB
Total memory usage: 2,224,192.00 KB
Command line: C:\CFusionMX\runtime\bin\jrun.exe

Brook

At 09:55 AM 4/13/2004, you wrote:

 Brook,
 Well I was curious about your question so i went ahead and took a look at
 how many class files we have.We also create cfm files on the fly for new
 accounts etc.On checking we have 25,759 class files in the cfclasses
 directory.All the suggestions below are accurate.Be sure to set your
 template cache as high as is reasonable with the memory you have.Also the
 jvm settings mentioned are very important.These things should all make a
 huge difference in your performance.
 
 
 Mark
 
 -Original Message-
 From: Brook Davies [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 09, 2004 12:25 PM
 To: CF-Talk
 Subject: How many class files do YOU have?
 
 I repoted to this list awhile ago about really long start up times for one
 of my apps on the first run. It seems that this problem has been resolved
 by defragging the HD? The C:\CFusionMX\wwwroot\WEB-INF\cfclasses folder had
 a lot of fragmented files as well as other areas on the HD. Does that make
 sense?
 
 Anyhow, I have 6,591 class files in my class folder taking up about 80
 megs. So, I am curious now how many class files ya'll have on your servers?
 
 And another question related to disk usage; what are the guidelines for a
 paging file and is it needed if you have lots of physical ram? The reason I
 ask is because I wonder if a fragmented HD, and a page file on that disk
 might cause problems. I've had some JavaOutOfMemory errors, so I am looking
 for answers everywhere :)
 
 Brook
 _
 
 --
 [http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads]
 [http://www.houseoffusion.com/lists.cfm/link=i:4:159758This Message]
 [http://www.houseoffusion.com/lists.cfm/link=s:4Subscription]
 [http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=905.825.4Fast

 Unsubscribe] [http://www.houseoffusion.com/signin/User Settings]
 
 --
 http://www.houseoffusion.com/banners/view.cfm?bannerid=41
 []
 
_

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:159782This Message] 
[http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=905.825.4Fast 
Unsubscribe] [http://www.houseoffusion.com/signin/User Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=40
[]

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How many class files do YOU have?

2004-04-09 Thread Dave Watts
 And another question related to disk usage; what are the 
 guidelines for a paging file and is it needed if you have 
 lots of physical ram? The reason I ask is because I wonder if 
 a fragmented HD, and a page file on that disk might cause 
 problems.

Ideally, on a Windows machine, you'd place the pagefile on a separate
partition, and you'd set it with a fixed size equal to the recommended size,
so that it's always exactly the same size. If you do this during your
initial machine configuration, you won't have to worry about pagefile
fragmentation.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: How many class files do YOU have?

2004-04-09 Thread Dain Anderson
Here's something pretty scary: I've got 4,105 on my localhost, and 
there's 4,107 on our server. Dangit, better go find the two different ones!

:-)

-Dain

Brook Davies wrote:
 Anyhow, I have 6,591 class files in my class folder taking up about 80
 megs. So, I am curious now how many class files ya'll have on your servers?
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How many class files do YOU have?

2004-04-09 Thread Nathan C. Smith
There is a slick utility offered by Sysinternals
'http://www.sysinternals.com/ntw2k/freeware/pagedefrag.shtml' called
pagedefrag that does a great job defragmenting your pagefile (if you don't
have the luxury of putting it on another disk.I've been using it for a
year now on all our windows NT+ class systems, at the worst it doesn't seem
to create problems, at the best I think it helps machines start and stop
faster.

Dave's recommendation of setting the minimum size to the same as the maximum
size is mandatory on our systems (one of the first performance setting we
make).

Also, if you have a lot of memory you can disable paging
'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management' 'DisablePagingExecutive' to stop the OS from putting peices of
itself in swap.

Even if you do have a lot of memory many programs will not work unless you
have a paging file, I guess even computer programs like to have a place to
doodle?

-Nate

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 2:25 PM
To: CF-Talk
Subject: How many class files do YOU have?

I repoted to this list awhile ago about really long start up times for one 
of my apps on the first run. It seems that this problem has been resolved 
by defragging the HD? The C:\CFusionMX\wwwroot\WEB-INF\cfclasses folder had 
a lot of fragmented files as well as other areas on the HD. Does that make 
sense?

Anyhow, I have 6,591 class files in my class folder taking up about 80 
megs. So, I am curious now how many class files ya'll have on your servers?

And another question related to disk usage; what are the guidelines for a 
paging file and is it needed if you have lots of physical ram? The reason I 
ask is because I wonder if a fragmented HD, and a page file on that disk 
might cause problems. I've had some JavaOutOfMemory errors, so I am looking 
for answers everywhere :)

Brook
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: How many class files do YOU have?

2004-04-09 Thread Brandon Purcell
If you have that many CFM's then the reason you are getting OutOfMemory errors is due to the fact that you are running out of space in the permanent generation of the Java Heap. I won't get into specifics with JVM tuning. I have some info on my blog http://bpurcell.org but to fix this bump up the -XX:MaxPermSize value in your jvm.config to 192 or 256 it should get rid of the problem. Also load testing has found that you can uncheck the value save class files in the admin and still get the same performance without storing the class files to disk. They will be compiled on first hit and loaded into memory. With the slick new compiler in 6.1 it is very efficient, in fact more efficient than having to sort through 6000 class files to load the appropriate file.

Hope that helps
Brandon
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: How many class files do YOU have?

2004-04-09 Thread Brook Davies
Brandon,

OKay, I set the server to NOT write cache files to disk and deleted all the 
cache files. I also increased the maxPermSize as suggested. Any reason I 
should not increase it to 512? I have the 3 gigs of ram on the server.

Also,my app writes lots of cfm files to disk, that why I have 6000 class 
files. Will this still be okay using the on-the-fly-compiler? Should I set 
the template cache higher than 1024?

Brook

At 01:52 PM 4/9/2004, you wrote:

If you have that many CFM's then the reason you are getting OutOfMemory 
errors is due to the fact that you are running out of space in the 
permanent generation of the Java Heap. I won't get into specifics with JVM 
tuning. I have some info on my blog http://bpurcell.org but to fix this 
bump up the -XX:MaxPermSize value in your jvm.config to 192 or 256 it 
should get rid of the problem. Also load testing has found that you can 
uncheck the value save class files in the admin and still get the same 
performance without storing the class files to disk. They will be compiled 
on first hit and loaded into memory. With the slick new compiler in 6.1 it 
is very efficient, in fact more efficient than having to sort through 6000 
class files to load the appropriate file.

Hope that helps
Brandon

--
[http://www.houseoffusion.com/lists.cfm/link=t:4Todays Threads] 
[http://www.houseoffusion.com/lists.cfm/link=i:4:159534This Message] 
[http://www.houseoffusion.com/lists.cfm/link=s:4Subscription] 
[http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=905.825.4Fast 
Unsubscribe] [http://www.houseoffusion.com/signin/User Settings]

--
http://www.houseoffusion.com/banners/view.cfm?bannerid=17
4a4000d.jpg

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: How many class files do YOU have?

2004-04-09 Thread Dave Watts
Should I set the template cache higher than 1024?

Yes, I think you should set it to the number of CFM files you have (or
expect to have).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]