* [sisyphus] холодный старт vs горячий старт
@ 2010-10-05 9:25 Igor Zubkov
2010-10-05 8:35 ` REAL
2010-10-05 9:40 ` Michael Shigorin
0 siblings, 2 replies; 5+ messages in thread
From: Igor Zubkov @ 2010-10-05 9:25 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Hi!
Тут пара вопросов появилась:
1) Как ядру объяснить что надо очистить кеши что он держит в памяти?
Охота тестировать скорость одного приложения в холодном старте.
2) Будет ли это работать в контейнере ovz? В смысле, если я уже в нём
и надо сборосить кеши?
--
Igor Zubkov
http://hi.im/ice
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] холодный старт vs горячий старт
2010-10-05 9:25 [sisyphus] холодный старт vs горячий старт Igor Zubkov
@ 2010-10-05 8:35 ` REAL
2010-10-05 9:44 ` Ildar Mulyukov
2010-10-05 9:40 ` Michael Shigorin
1 sibling, 1 reply; 5+ messages in thread
From: REAL @ 2010-10-05 8:35 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Igor Zubkov пишет:
> 1) Как ядру объяснить что надо очистить кеши что он держит в памяти?
> Охота тестировать скорость одного приложения в холодном старте.
sync(1)?
> 2) Будет ли это работать в контейнере ovz? В смысле, если я уже в нём
> и надо сборосить кеши?
HZ
--
REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] холодный старт vs горячий старт
2010-10-05 8:35 ` REAL
@ 2010-10-05 9:44 ` Ildar Mulyukov
0 siblings, 0 replies; 5+ messages in thread
From: Ildar Mulyukov @ 2010-10-05 9:44 UTC (permalink / raw)
To: sisyphus
On 05.10.2010 14:35:33, REAL wrote:
> Igor Zubkov пишет:
>> 1) Как ядру объяснить что надо очистить кеши что он держит в памяти?
>> Охота тестировать скорость одного приложения в холодном старте.
>
> sync(1)?
нет. Это только сброс кэша на запись. Вопрос был о кэше на чтение.
--
Ildar
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] холодный старт vs горячий старт
2010-10-05 9:25 [sisyphus] холодный старт vs горячий старт Igor Zubkov
2010-10-05 8:35 ` REAL
@ 2010-10-05 9:40 ` Michael Shigorin
2010-10-05 9:50 ` Igor Zubkov
1 sibling, 1 reply; 5+ messages in thread
From: Michael Shigorin @ 2010-10-05 9:40 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
On Tue, Oct 05, 2010 at 12:25:58PM +0300, Igor Zubkov wrote:
> Тут пара вопросов появилась:
> 1) Как ядру объяснить что надо очистить кеши что он держит в памяти?
> Охота тестировать скорость одного приложения в холодном старте.
http://linux-mm.org/Drop_Caches
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] холодный старт vs горячий старт
2010-10-05 9:40 ` Michael Shigorin
@ 2010-10-05 9:50 ` Igor Zubkov
0 siblings, 0 replies; 5+ messages in thread
From: Igor Zubkov @ 2010-10-05 9:50 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
5 октября 2010 г. 12:40 пользователь Michael Shigorin написал:
> On Tue, Oct 05, 2010 at 12:25:58PM +0300, Igor Zubkov wrote:
>> Тут пара вопросов появилась:
>> 1) Как ядру объяснить что надо очистить кеши что он держит в памяти?
>> Охота тестировать скорость одного приложения в холодном старте.
>
> http://linux-mm.org/Drop_Caches
Оно. Только вот этого я и боялся:
[root@prometheus ~]# echo 3 > /proc/sys/vm/drop_caches
-bash: echo: write error: Operation not permitted
[root@prometheus ~]#
Это уже просто внутри ovz-контейнера. Я так понимаю что в ovz кеш для
всех контейнеров один на всех и подёргать его не дадут.
--
Igor Zubkov
http://hi.im/ice
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-05 9:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-05 9:25 [sisyphus] холодный старт vs горячий старт Igor Zubkov
2010-10-05 8:35 ` REAL
2010-10-05 9:44 ` Ildar Mulyukov
2010-10-05 9:40 ` Michael Shigorin
2010-10-05 9:50 ` Igor Zubkov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git