You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Ankur Padia <pa...@gmail.com> on 2015/09/03 17:00:39 UTC

Fwd: Clearing cache does not effect query execution time

---------- Forwarded message ----------
From: Ankur Padia <pa...@gmail.com>
Date: Mon, Aug 24, 2015 at 9:28 AM
Subject: Clearing cache does not effect query execution time
To: users@jena.apache.org


Hello everyone,

   I want to execute a bunch of queries on Fuseki server using default
settings and want to clear cache. To accomplish the goal mentioned, I used
following linux command to clean the cache,

*sync; echo 3 | sudo tee /proc/sys/vm/drop_caches*

However, instead of getting execution time in seconds which means results
was fetched from harddisk, I am getting results in millisecond .

Also, the very first query takes time in seconds however the later queries
following it takes few millisecond both having same number of triple
pattern.

Can anyone please guide me through the phenomena happening inside Fuseki ?
Fuseki was hosted on linux, Fedora 17.


Ankur Padia.

Re: Clearing cache does not effect query execution time

Posted by Rob Vesse <rv...@dotnetrdf.org>.
You already received two replies from Jena developers to this question
which you originally sent to the users@jena.apache.org mailing list so
sending it again to the dev list is unlikely to elicit any further
responses

If those replies didn't answer your question then please explain why they
didn't answer the question?

Rob

On 03/09/2015 16:00, "Ankur Padia" <pa...@gmail.com> wrote:

>---------- Forwarded message ----------
>From: Ankur Padia <pa...@gmail.com>
>Date: Mon, Aug 24, 2015 at 9:28 AM
>Subject: Clearing cache does not effect query execution time
>To: users@jena.apache.org
>
>
>Hello everyone,
>
>   I want to execute a bunch of queries on Fuseki server using default
>settings and want to clear cache. To accomplish the goal mentioned, I used
>following linux command to clean the cache,
>
>*sync; echo 3 | sudo tee /proc/sys/vm/drop_caches*
>
>However, instead of getting execution time in seconds which means results
>was fetched from harddisk, I am getting results in millisecond .
>
>Also, the very first query takes time in seconds however the later queries
>following it takes few millisecond both having same number of triple
>pattern.
>
>Can anyone please guide me through the phenomena happening inside Fuseki ?
>Fuseki was hosted on linux, Fedora 17.
>
>
>Ankur Padia.