Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* command line args for restore
@ 1994-07-15 22:17 John Miller
  1994-07-15 23:54 ` swap methods? Gilbert M. Smith Jr.
  0 siblings, 1 reply; 5+ messages in thread
From: John Miller @ 1994-07-15 22:17 UTC (permalink / raw)



It seems that restore must be told:

	# restore -i  -f /dev/tape  -s 1

rather than:

	# restore -ifs  /dev/tape  1

(/dev/tape for simplicity here).

Is this a feature, or am I missing something?

The man page is somewhat vague on this, but it seems to suggest the
latter form is correct.

Thanks now,
John
-- 
"What's ahead?"



^ permalink raw reply	[flat|nested] 5+ messages in thread

* swap methods?
  1994-07-15 22:17 command line args for restore John Miller
@ 1994-07-15 23:54 ` Gilbert M. Smith Jr.
  1994-07-19 18:53   ` Art Zemon
  0 siblings, 1 reply; 5+ messages in thread
From: Gilbert M. Smith Jr. @ 1994-07-15 23:54 UTC (permalink / raw)


1.  Can anyone give me a good explanation for DEC ALPHA swap methods. 
I have heard them termed "eager" vs. "lazy".  Also "over committment
mode".  By default there is a symbolic link in /sbin --> ../dev/rz3b
which points to the swap device.  On our DEC ALPHA's the message "swap
is below 10%" appears often.  When I phoned DEC about this they said to
remove the symbolic link and reboot.  It would be great if someone has
a *good* technical explanation for this.  We are running OSF V1.3.

2.  Thanks!


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: swap methods?
  1994-07-15 23:54 ` swap methods? Gilbert M. Smith Jr.
@ 1994-07-19 18:53   ` Art Zemon
  1994-07-21 12:59     ` Starlink Manager
  0 siblings, 1 reply; 5+ messages in thread
From: Art Zemon @ 1994-07-19 18:53 UTC (permalink / raw)


When OSF/1 is in "eager" swap mode, it allocates on-disk swap space before
satisfying each request for virtual memory.  In other words, if your program
requests 64 KB of virtual memory, OSF/1 will find space on disk to which it
can swap that VM.  The disk space may never be used, but it is there if
you ever need it.

When OSF/1 is in "lazy" swap mode, it allocates VM without bothering to
allocate on-disk swap space.  In the event that OSF/1 needs to page or
swap, it then tries to find the disk space required.
                                              
The advantage to lazy mode is that you can keep filling up physical memory
even if you don't have enough swap space.  I.e., you could have 256 MB of
memory but only 128 MB of swap space.  This would give you (very roughly)
384 MB of useable virtual memory.

The danger in using lazy mode is that OSF/1 may need to abruptly kill
a running process if the operating system desperately needs physical
memory and there is no swap space available.

The advantage to eager mode is that processes never get killed due to
lack of swap space.  If they request VM and get it, then they are safe.
The worst that can happen is that they request VM and the operating system
denies the request.

The disadvantage to eager mode is that you need lots of swap space,
typically 2-3 times the amount of physical memory.  Any less and you
may run out of swap space before you run out of physical memory.

Cheers,
	-- Art Z.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: swap methods?
  1994-07-19 18:53   ` Art Zemon
@ 1994-07-21 12:59     ` Starlink Manager
  1994-07-22 15:12       ` Art Zemon
  0 siblings, 1 reply; 5+ messages in thread
From: Starlink Manager @ 1994-07-21 12:59 UTC (permalink / raw)


: The disadvantage to eager mode is that you need lots of swap space,
: typically 2-3 times the amount of physical memory.  Any less and you
: may run out of swap space before you run out of physical memory.

: Cheers,
: 	-- Art Z.

We are running with 8x physical memory; alpha 3000/300, 64Mb RAM, 512 Mb
swap in 2 x 256Mb swap partitions. We run up to 20 user processes, mostly
doing heavy duty image processing. The machine also supports 5 X-terminals,
and serves two other workstations (300L's). The larger of the two
workstations has 48Mb memory, and 256 Mb swap space. The smaller has 32 Mb,
and 128 Mb swap. The smaller 300L still sees swap space below 10% on eager
mode, but not in lazy mode. However, there have been some odd happenings on
the smaller machine. %-}.

I'd go for a LOT of swap space.

Regards,   James Albinson


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: swap methods?
  1994-07-21 12:59     ` Starlink Manager
@ 1994-07-22 15:12       ` Art Zemon
  0 siblings, 0 replies; 5+ messages in thread
From: Art Zemon @ 1994-07-22 15:12 UTC (permalink / raw)


In article <30lrfn$l8s@gabriel.keele.ac.uk>, star@astro.keele.ac.uk (Starlink Manager) writes:
> We are running with 8x physical memory; alpha 3000/300, 64Mb RAM, 512 Mb
> swap in 2 x 256Mb swap partitions.

Something else to consider, DEC OSF/1 V2.0 included a new version of
malloc that uses a *lot* less virtual memory, and consequently a lot
less swap space.  If you are still running DEC OSF/1 V1.3 or earlier,
upgrading will help you.

Cheers,
	-- Art Z.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-07-22 15:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-15 22:17 command line args for restore John Miller
1994-07-15 23:54 ` swap methods? Gilbert M. Smith Jr.
1994-07-19 18:53   ` Art Zemon
1994-07-21 12:59     ` Starlink Manager
1994-07-22 15:12       ` Art Zemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox