Renaming on Windows might be substantially slower, but I don't have any 
numbers.  Regardless, it would seem to be better to accept the declared 
intention of the configuration. 

On Mar 23, 2010, at 10:45 AM, Doal Miller wrote:

> I took the FixedWindowRollingPolicy from the extras jar and changed the 
> MAX_WINDOW_SIZE from 12 to 200. I also put in some code to see how long it 
> took to rename the files. I used a SizeBasedTriggeringPolicy set at 400000 
> bytes, but the size of the files really shouldn't matter with the rename, 
> right? At any rate, it took 3 milliseconds to rename 183 files. This is on 
> Ubuntu.
> 
> The initial setting for MAX_WINDOW_SIZE was set at 12 because of concerns 
> with the renaming operation taking too long. A time of 3 milliseconds doesn't 
> seem very long to me. Am I missing something, or is my timing off? Does 
> anyone remember (ballpark) the initial timings? Are there any other concerns 
> with bumping up the MAX_WINDOW_SIZE?
> 
> Doal Miller
> Sr. Software Engineer


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to