From: Sascha Silbe <sascha-ml-reply-to-2010-3@silbe.org>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Slow opening of threads?
Date: Sat, 23 Oct 2010 10:28:42 +0200 [thread overview]
Message-ID: <1287822209-sup-8113@twin.sascha.silbe.org> (raw)
In-Reply-To: <1287777291-sup-9882@blake>
[-- Attachment #1.1: Type: text/plain, Size: 917 bytes --]
Excerpts from Shadowfirebird's message of Fri Oct 22 21:56:07 +0200 2010:
> > Are you getting different timings for the same thread (remember to flush
> > all OS level caches to check this) or are some threads always slow?
>
> It seems pretty random, but how do I flush my caches?
From [1]:
>> drop_caches
>> Writing to this will cause the kernel to drop clean caches, dentries
>> and inodes from memory, causing that memory to become free.
>> To free pagecache:
>> echo 1 > /proc/sys/vm/drop_caches
>> To free dentries and inodes:
>> echo 2 > /proc/sys/vm/drop_caches
>> To free pagecache, dentries and inodes:
>> echo 3 > /proc/sys/vm/drop_caches
>> As this is a non-destructive operation and dirty objects are not
>> freeable, the user should run `sync' first.
Sascha
[1] http://www.kernel.org/doc/Documentation/sysctl/vm.txt
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next prev parent reply other threads:[~2010-10-23 9:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-22 9:23 Shadowfirebird
2010-10-22 10:40 ` Amadeusz Żołnowski
2010-10-22 11:48 ` Shadowfirebird
2010-10-22 13:09 ` Moritz Wilhelmy
2010-10-22 18:02 ` Shadowfirebird
2010-10-22 23:32 ` Moritz Wilhelmy
2010-10-22 11:04 ` Gaute Hope
2010-10-22 11:16 ` Philipp Überbacher
2010-10-22 12:21 ` Ben Walton
2010-10-22 12:38 ` Mark Alexander
2010-10-22 13:03 ` Shadowfirebird
2010-10-22 16:28 ` Mark Alexander
2010-10-22 17:19 ` Sascha Silbe
2010-10-22 19:56 ` Shadowfirebird
2010-10-23 8:28 ` Sascha Silbe [this message]
2010-10-23 10:42 ` Shadowfirebird
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1287822209-sup-8113@twin.sascha.silbe.org \
--to=sascha-ml-reply-to-2010-3@silbe.org \
--cc=sup-talk@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox