Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » comp.sys.amiga » Strangeness when copying to RAM:
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Strangeness when copying to RAM: [message #293844] Sun, 07 December 1986 22:51 Go to next message
Anonymous
Karma:
Originally posted by: wecker@cookie.dec.com (DAVE TANSTAAFL WECKER)
Article-I.D.: decwrl.6803
Posted: Sun Dec  7 22:51:25 1986
Date-Received: Mon, 8-Dec-86 02:13:29 EST
Sender: daemon@decwrl.DEC.COM
Organization: Digital Equipment Corporation
Lines: 29


I'm confused (so what else is new :-). When using Matt's shell to copy a file
to the RAM: device, the following happens:

	238k free	- at start of copy
	153k free	- near end of copy (file is 85k)
	 68k free	- at VERY end of copy (looks like during close)
	153k free	- after copy completes

It looks like before finishing the copy, AmigaDOS eats up TWICE the size of
the file (this is using the AZTEC-C runtime routines on V1.1 of the O/S).
So just for grins, I did the standard copy command in c: and got:

	238k free	- at start of copy
	150k free	- near end of copy (file is 85k)
	135k free	- at VERY end of copy (looks like during close)
	150k free	- after copy completes

Not as bad... but still 15k disappears (for an instant). What is going on?
Is this a known bug? Do I have any control over it? Is it fixed in 1.2?

The problem arises when I want to run EMACS, VT100 and a MAKE at
the same time. When I get to the point where I want to copy c.lib up to
ram: (and there should be enough room) I run out of space (since I need 170k
of ram (for an instant) to hold the c library instead of 85k).

Any input would be appreciated.
Thanks,
dave	{decwrl|decvax|decuac}!cookie.dec.com!wecker
Re: Strangeness when copying to RAM: [message #293906 is a reply to message #293844] Tue, 09 December 1986 11:44 Go to previous message
page is currently offline  page
Messages: 20
Registered: December 1985
Karma: 0
Junior Member
Article-I.D.: ulowell.837
Posted: Tue Dec  9 11:44:56 1986
Date-Received: Wed, 10-Dec-86 05:28:33 EST
References: <6803@decwrl.DEC.COM>
Reply-To: page@ulowell.UUCP (Bob Page)
Organization: University of Lowell
Lines: 22

wecker@cookie.dec.com (DAVE  TANSTAAFL  WECKER) wrote:
 >  [test]
 > It looks like before finishing the copy, AmigaDOS eats up TWICE the size of
 > the file
 >  [another test]
 > Not as bad... but still 15k disappears (for an instant). What is going on?
 > Is this a known bug? Do I have any control over it? Is it fixed in 1.2?

I run with PM (the Performance Monitor, graphics display of cpu/mem usage)
on all the time, and have noticd this also.  It does not seem to make a
difference what the size of the file is ... there is some overhead always.
Even back when I was playing with the RESIDENT command (stay away from it)
it would do it, so it's not as simple as the COPY program being there.

My guess is that either COPY is doing something funky or there is some
misc bizzarness occuring with the RAM: handler.  Knowing AmigaDOS,
would you be willing to bet that it (COPY or the RAM handler) allocates
large chunks of mem when copying?  Speed demon that it is?

..Bob	(constantly amazed at the `features' of AmigaDOS)
-- 
Bob Page,  U of Lowell CS Dept.      ulowell!page,  page@ulowell.CSNET
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: re DMA hard disks
Next Topic: re: hooking up df2: and df3:
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Mar 29 00:41:10 EDT 2024

Total time taken to generate the page: 0.04780 seconds