zfs l2arc warmup

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Fri Mar 28 14:56:17 UTC 2014


On Fri, 28 Mar 2014, Joar Jegleim wrote:
> The server is actually far from any limit, in fact it has so 'little'
> to do I've been a bit put off to figure out why our frontpage won't be
> more snappy.

The lack of "snappy" is likely to be an application problem rather 
than a server problem.  Take care not to blame the server for an 
application design problem.  You may be over-building your server when 
all that is actually needed is some simplification of the web content.

The design of the application is important.  The design of the content 
provided to the web client is important.

Something I learned about recently which could be really helpful to 
you is there is a Firefox tool called "Web Developer Toolbar" which 
has a "Network" option.  This option will show all files loaded for a 
given web page, including the time when the request was initiated, and 
when it completed.  You may find that the apparent latency problem is 
not your server at all.  You may find that there are many requests to 
servers not under your control.  The performance problem is likely be 
due to the design of the content passed to the browser.

For example, I just requested to initially load an 
application-generated page and I see that the base page loaded in 
722ms and then there were two more subsequent loads in parallel 
requiring 335ms and 445ms, and then one more load subsequent to that 
requiring 262ms.  The entire page load time was 1.7 seconds.  The load 
time was dominated by the chain of dependencies.  If I reload the page 
(request is now 'hot' on the server) then I see several of the 
response times substantially diminish, but some others remain 
virtually the same, resuling in a page load time of 1.13 seconds.

>From what I have been seeing, web page load times often don't have 
much at all to do with the performance of the server.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the freebsd-fs mailing list