ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Damir <lost404@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] tmpfs использует только оперативную память?
Date: Tue, 6 Oct 2009 15:14:24 +0400
Message-ID: <679044850910060414p4a6cc45as188fee616387d044@mail.gmail.com> (raw)
In-Reply-To: <20091006150352.455b50e1@narod.ru>

> Да, знал с самого начала. Так установилось при инсталляции ОС. Сколько
> мб указать?
Если Вы хотите 100-мегабайтные файлы распаковывать, но видимо как
минимум 100 мегабайт, а то и больше.

> Есть ли какие-то предпочтения? И значит ли, что если я укажу
> в fstab:
>
> tmpfs   /tmp   tmpfs  nosuid,size=24m  0  0
>
> то начнется использование свопа?
Не значит. Это означает, что Вы не сможете положить в /tmp файл больше
чем 24 мегабайта. size - это размер виртуальной памяти, выделенной под
ФС, а не размер оперативной памяти. Есть большая разница между
виртуальной и оперативной памятью.

> И еще - в /tmp или все же в /dev/shm?
Ну распаковщик же использует /tmp, а не /dev/shm?

> А то в этой статье, к примеру, это неявно прописано, на мой взгляд:
>
> http://www.citforum.ru/operating_systems/linux/robbins/fs03.shtml
На мой взгляд, все очень явно прописано

<цитата>
tmpfs еще известна как файловая система в виртуальной памяти (virtual
memory filesystem). Возможно, вы знаете, что ядро Linux "понимает"
ресурс "виртуальная память" именно как единое - целое RAM и
swap-пространство.
</цитата>

  parent reply	other threads:[~2009-10-06 11:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06  9:17 Владимир Гусев
2009-10-06  9:27 ` Sergey
2009-10-06  9:34   ` Владимир Гусев
2009-10-06 10:41     ` Damir
2009-10-06 10:49       ` Maks Re
2009-10-06 11:02         ` Damir
2009-10-06 11:03       ` Владимир Гусев
2009-10-06 11:12         ` Sergey
2009-10-06 11:14         ` Damir [this message]
2009-10-06 11:35           ` Владимир Гусев
2009-10-06 11:48             ` Sergey
2009-10-06 12:49             ` Damir
2009-10-06 20:38               ` Владимир Гусев
2009-10-06 11:15         ` Владимир
2009-10-06 11:39           ` Владимир Гусев
2009-10-06 12:27           ` Владимир Гусев
2009-10-06 12:34             ` Sergey
2009-10-06 12:47               ` Владимир Гусев
2009-10-06 13:05                 ` Владимир Гусев
2009-10-06 13:16                 ` Sergey

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=679044850910060414p4a6cc45as188fee616387d044@mail.gmail.com \
    --to=lost404@gmail.com \
    --cc=community@lists.altlinux.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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git