× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If I dynamically allocate 16MB of memory using %alloc in a batch job, where
is that 16MB stored if the job is paged to disk? Does SLS allocate a pointer
for the program's "one-time" use?

Thanks,
Loyd

-----Original Message-----
From: James Rich [mailto:james@eaerich.com]
Sent: Thursday, October 31, 2002 11:35 AM
To: midrange-l@midrange.com
Subject: Re: Paging file


On Thu, 31 Oct 2002 vhamberg@attbi.com wrote:

> Say you have a 6meg file. On a *nix swap partition it'll
> be a continuous block of 6meg, right? On a 400, it'll probably be in 6
> 1meg extents, on 6 separate drives. All 6 will go to their extent at
> basically the same time, so seek time is about the same, since it's in
> parallel. the actual elapsed time to physically read the data off
> disk, assuming the same rotational speed, is about 1/6th
> that of the long, 6meg file on a single platter.

In this case I agree.  But is swap data that large?  I don't really know. As
the amount you read decreases the seek time becomes a bigger and bigger
factor.  Even 6MB is small enough that (if it is one file, not 3 2MB
files) a single disk may outperform several because you only have to seek
once instead of several times.  This is interesting enough that I'm going to
go bother the filesystem guys at SGI and see what they think...

James Rich


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.