Saratov Linux User Group
 help / color / mirror / Atom feed
From: Paul P Komkoff Jr <i@stingr.net>
To: sarlug@lug.ru
Subject: Re: [Sarlug] Swap
Date: Thu, 1 May 2003 12:50:48 +0400
Message-ID: <20030501085048.GZ5041@stingr.net> (raw)
In-Reply-To: <200304302227.42748.sin.a@freeline.ru>

Replying to Alex:
>  Да нет, вопрос был вполне конкретный (разве может формулировка...), каков 
> предельный обьем для свапа.

А кто вам мешает найти на него ответ?
mm/swapfile.c, 22 строчка сверху

int total_swap_pages;

страница на i386 равна 4k
путём несложных арифметических операций получаем объём свопа чуть меньше 8
терабайт.

Только не в объёме дело. Прикиньте, сколько в этом случае будут занимать
битмапы только самого свопа. И pagetables тех процессов, кто сдуру столько
памяти накоммитил.

Для этого придумывают hugetlb всякие ... см. oracle for linux

>  А что за прога такая - действительно любопытство разбирает... ;)

Меня раздирает чисто техническое любопытство
каким образом эта прога умудряется мапить в 32битное адресное пространство
больше 4 гигов.

-- 
Paul P 'Stingray' Komkoff Jr /// (icq)23200764 /// (http)stingr.net
 This message represents the official view of the voices in my head


  parent reply	other threads:[~2003-05-01  8:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-30  8:24 Amodeus
2003-04-30  8:57 ` Евгений В. Хорохорин
2003-04-30 10:00   ` Amodeus
2003-04-30 13:11     ` Евгений В. Хорохорин
2003-04-30 16:53     ` Paul P Komkoff Jr
2003-04-30 18:27       ` Alex
2003-05-01  5:26         ` Amodeus
2003-05-01  7:01           ` [Sarlug] Swap [JT] Roman Bogorodskiy
2003-05-01  7:18           ` [Sarlug] Swap Alex
2003-05-01  7:25           ` Alex
2003-05-01  7:59             ` Roman Bogorodskiy
2003-05-01 17:35             ` Amodeus
2003-05-03  3:55           ` Аляткин Дмитрий
2003-05-04  4:05             ` Amodeus
2003-05-01  8:50         ` Paul P Komkoff Jr [this message]
2003-05-01  6:09       ` Amodeus
2003-05-01  9:46         ` Paul P Komkoff Jr
2003-05-01 17:48           ` Amodeus

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=20030501085048.GZ5041@stingr.net \
    --to=i@stingr.net \
    --cc=sarlug@lug.ru \
    /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

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

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


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