Does Buffer size affects the performance in any way?

JIA Java Italian Association

I would say that it depends on the pages you normally handle. Bigger buffers are normally faster but they use a bigger amount of memory that, in a Servlet/JSP system could have a negative impact on server's performances.
Default value should be 8K, and except few cases, I've always considered it a reasonable value. I change it only when I have to send out very big pages.