MSFN Forum: Virtual Memory on USB - MSFN Forum

Jump to content


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Virtual Memory on USB Rate Topic: -----

#21 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 12 November 2012 - 02:41 PM

View Postsnoopy55, on 12 November 2012 - 02:09 PM, said:

Now, to settle a couple of more things. Yes, a USB card can be set up to be used as VM. At least on XP 32-bit.

Good, if you say so I am happy for you. :)

Just as a check (that by any remote chance what the Virtual Memory control panel does not actually represents fully what is happening):
Can you open that "USB card" in explorer and see if there is in its root (possibly hidden/system) a file named "pagefile.sys"?
Which size is it?
Can you resize the size of the pagefile (a few megabytes will do) in the Virtual Memory panel (and reboot) then check again the size of "pagefile.sys" on the "USB card"?
(please check as well the Hitachi 61.4 or 'Old IDE' for the same file in root and do the same test resizing it)

As I see it, if a pagefile.sys exists on the volume and it can be re-sized through the Virtual Memory control panel, a pagefile exists, otherwise it could mean that what you see in the Virtual Memory control panel might be deceiving)

If you happen to have one of those IDE to USB cnverters/enclosures, can you try placing the pagefile on the same Hitachi HD, this time connected through USB?

jaclaz


#22 User is offline   snoopy55 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-October 12
  • OS:XP Pro x64
  • Country: Country Flag

Posted 12 November 2012 - 03:17 PM

View PostPonch, on 12 November 2012 - 02:38 PM, said:

View Postsnoopy55, on 11 November 2012 - 01:57 PM, said:

Ponch, I have never seen evidence of a HD or my USB card being used as VM. Aside from a couple of programs working a bit easier with the USB card as VM, nothing showed up on the card.

Is that not an evidence that it does not work ? If nothing shows up on the card, it's simply not used. :huh:


OK, I'll accept that as soon as someone shows me something on their hard drive that shows it is being used by the computer as VM. And I do not mean the settings screen.

#23 User is offline   snoopy55 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-October 12
  • OS:XP Pro x64
  • Country: Country Flag

Posted 12 November 2012 - 08:17 PM

After a bit of experimenting I found some interesting facts.

To view the Pagefile.sys file along with checking "Show hidden files and folders" you must also uncheck "Hide protected operating system files (Recommended)" (you might have clarified this little much needed step Jaclaz )

XP 32-bit will give you the ability to use a USB card as VM, BUT that is not where is places the pagefile.sys. It uses your C: drive. I set the VM to 2048 and the pagefile.sys appeared on the C: drive as 2048K. When I changed the size in the VM window, the size of the pagefile.sys in drive C: also change to match it.

While I could not get XP x64 to use a USB card, it did allow me to use the external USB HD. But again, it placed the pagefile.sys on the C: drive and any changes to the size on the external was matched on the C: drive. Leave it to Microsoft.

One other interesting item.....if you do not set any VM on any drive, XP and XP x64 will put a pagefile on your C: drive, like it or not.

Ponch, it looks like Jaclaz has answered your question.

And Jaclaz, that drive was connected externally thru the USB

Attached File  Hard_Drive_thru_USB_2.JPG (253.67K)
Number of downloads: 1

So, now that I have discovered the real way that XP and XP x64 do VM on USB devices, I guess my question has been answered.

Now, off to read those websites.............

#24 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 13 November 2012 - 03:57 AM

Good :), so now everything is hopefully clear :yes: ,.not very different from what initially stated:

View Postjaclaz, on 10 November 2012 - 05:13 AM, said:

@snoopy55
The ability to put a pagefile on a USB stick is determined by a number of things (ways the OS "sees" the device).

What I find very strange (besides what you want to achieve) is what you report. :w00t:

A "normal" MS NT based OS won't allow having a pagefile on an "external" disk, let alone a "removable" one.

To allow this normally a filter driver is used ....

actually exactly as it was :whistle: .

JFYI, the working is more or less like this:
  • the Virtual Memory Control Panel is nothing but a nice GUI interface to a few keys in the Registry.
  • when you change settings in that, the corresponding keys in the Registry are actually changed.
  • at reboot *something else* reads those keys and does what is written on them, BUT IF what is written on them makes no sense (like making a pagefile on an "external" device), the *something* tries to do it's best, like interpreting that the user wants a pagefile of a given size and actually makes one, only it makes it on the first device it sees as fit.
  • on the other hand the *something* does not notify anyone about the interptretation it put into practice, leaving the related Registry keys "as they are", thus if you re-access the Virtual Memory control panel you see the same settings you input earlier


Seemingly the 64 bit version is a bit smarter and doesn't list the external drives in the Virtual Memory control panel, thus preventing this form of miscommunication between the System and the user.

The good news :thumbup are that the "Kingston DataTraveler DTI / 4GB" that you used for the last several years has not suffered ANY wear :w00t: due to the paging file rewrites and will probably last forever in that role ;).

Slightly OT, but JFYI:
http://www.msfn.org/...le-at-shutdown/

jaclaz

#25 User is offline   Ponch 

  • MSFN Master
  • Group: Patrons
  • Posts: 2,954
  • Joined: 23-November 05
  • OS:none specified
  • Country: Country Flag

Posted 13 November 2012 - 04:16 AM

View Postsnoopy55, on 12 November 2012 - 08:17 PM, said:

XP 32-bit will give you the ability to use a USB card as VM, BUT that is not where is places the pagefile.sys. It uses your C: drive.

You might want to rephrase that (for Googlers) as "XP 32-bit will not give you the ability to use a USB card as VM BUT leaves you with the deceiving impression that you can". And so your numerous statements (starting from the 1st post) that "it worked great!" are erroneous but your insistance and the impression we had that the fact you modify these settings indicates that you knew what effect it had (move bits of the pagefile.sys to an other volume) dragged this thread to a second page. :rolleyes:

This post has been edited by Ponch: 13 November 2012 - 04:24 AM


#26 User is offline   snoopy55 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-October 12
  • OS:XP Pro x64
  • Country: Country Flag

Posted 13 November 2012 - 05:58 AM

Ponch - you evidently missed the first line of that post...... "After a bit of experimenting I found some interesting facts.". If I had known all of this in the first place I would never have bothered even building a cable to create a internal USB socket to plug the USB card into.

Jaclaz - to bad you didn't make that statement and make it clear for us "n00b" fools", or should I phrase that 'THIS "n00b" fool', a long time ago...... no, now that I think of it, you would have had to climb down your ladder to floor level, maybe even have to go into the basement, to answer it that way.

To both of you - My sincerest apologies for wasting your time with a question that was really uncalled for on a forum like this that only calls to upper level, excuse me, the highest level, computer experts.























(i can't wait to see the replies to this one....... or should i bother...........)

#27 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 13 November 2012 - 07:22 AM

Well, I thought that my post #9, which I will re-quote for clarity:

View Postjaclaz, on 10 November 2012 - 05:13 AM, said:

@snoopy55
The ability to put a pagefile on a USB stick is determined by a number of things (ways the OS "sees" the device).

What I find very strange (besides what you want to achieve) is what you report. :w00t:

A "normal" MS NT based OS won't allow having a pagefile on an "external" disk, let alone a "removable" one.

To allow this normally a filter driver is used, see here for DiskMod:
http://reboot.pro/9461/
http://reboot.pro/9461/#entry86619/
which comes also in a 64 bit version, though tested only on later systems (Vista :ph34r: and 7) AFAICR.


jaclaz

was as plain as possible both in the terms used and in the concepts, and I don't see it as coming from any presumed "upper level" or "ladder", it represents a set of plain statements, coming from someone that not only - as it has later become evident - found those same facts before you did, but additionally provided relevant links/info specifically targeted to the matter leading to a possible solution.

It is not like I posted (and I actually could have posted this :whistle: , though I did NOT :angel):

fictional_jaclaz_in_aggressive_mode said:

You dumb n00b! :realmad: It's not possible to have a pagefile on a USB stick!
Where the heck did you learn that absurd notion? :w00t:

nor I did post (and again I could have done that) post a link to the known chocolate-covered banana issue:
http://homepage.ntlw...red-banana.html

I mantain that what was posted was:
  • accurate
  • written in plain enough English
  • providing you a correct answer to the question you asked


As I see it the actual issue is/was simply that you were (BTW in perfect good faith :yes: ) so positively confident in your experience (both in the specific matter and in your general experience as machine language programmer or whatever) that you didn't contemplate in the least the possibility that your initial statement was the effect of your perceptions being deceived by the Virtual Memory control panel and more generally by the XP OS behaviour.

In another place, in another time, this was actually pre-coded in "Common Sense Advice", JFYI, point #f4.:
http://reboot.pro/82/

You may also want to notice how I never stated a particular experience in anything, nor a particular "superior" state (possibly the board "status" of Developer and the 10,000+ posts speak by themselves to this regard) whilst you stated:

View Postsnoopy55, on 10 November 2012 - 08:47 PM, said:

....
and I used to be able to program in 8 different machine languages...........


View Postsnoopy55, on 12 November 2012 - 02:09 PM, said:

And I'm not a NOOB, I've been building and working with computers since the early 80's.

so, if someone has attempted to, directly or indirectly, provide "credentials" to support his statements, and more loosely "self position" himself at a given level, that has not been me.

To be fair, you did post:

View Postsnoopy55, on 12 November 2012 - 02:09 PM, said:

Just because I have never had a previous need to dig into the firmware of them only makes me uneducated with the firmware, not the whole thing. A person can build many systems, put a 20-year-old company on computer using a network ( a 2 wire network), rewrite programs, create maps for games, decipher and enlarge a game ( http://www.sidmeiers....net/portal.php ), and much more, without knowing what a 'pagefile' is and never having played in the Windows Registry.

which is exactly what has been demonstrated by the evolution of this thread, notwithstanding your good experience on other (albeit similarly technically oriented) fields/topics, you knew nothing about pagefiles and Virtual Memory and were tricked by the behaviour of the OS.

But now everything is (hopefully) clear and "cool", if any feathers were ruffled, they have been smoothed down again, and outside (at least here) though cold, the sun in shining....

jaclaz

This post has been edited by jaclaz: 13 November 2012 - 07:23 AM


#28 User is offline   snoopy55 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-October 12
  • OS:XP Pro x64
  • Country: Country Flag

Posted 13 November 2012 - 09:11 AM

No, your post did not explain anything. You simply said it could not happen. The view on my system showed that it was happening. Now, if you had stated that the OS was showing it on the USB but in actuality it was using the C: drive and lying to you, I would have said "Thanks, that clears up everything!!" and gone on my merry way. But you seemed to have expected me to just accept what you had to say with no full explanation. Full explanations can come in very handy for those of us who chose not to dig into the full depths of MS and how it works.

The first 5 replies did not try to answer my question, they simply said the drive may not meet the required specs, doing so would be a big error, RAM is a way to do it, something about a small partition, and sacrificing a USB device.

Your reply then states that "The ability to put a pagefile on a USB stick is determined by a number of things (ways the OS "sees" the device)." which appears to be a partial explanation, then the strangeness of what I'm wanting to do and then that the OS won't allow me to do what I had done (in appearance on my system)

I then get attacked for my silly choice of words.

And it tends to go on and on.

Then, when I figure out where the OS is actually storing the pagefile.sys that it shows on the VM screen it is putting on the USB card, I get a "DUUUUHHHHHH, that's what I've been telling you all along"

I'm the administrator of a forum myself, and I have learned from experience what I stated years ago: (referring to map making) Sometimes, people like you and I tend to forget what we had to go thru when we first did these . "It is so simple that it just couldn't have been hard and what is this guys problem that he can't seem to just whip those maps out?"

Do not expect everyone to know and understand everything you do. Explain yourself. To say "What you are doing cannot be done, believe me" don't get it. Why can it not be done, and what is really happening would simplify things greatly. Sort of what a n00b like me did after I took the time to look into exactly what my system was doing as far as placement of the pagefile.sys

#29 User is offline   submix8c 

  • Inconceivable!
  • Group: Patrons
  • Posts: 3,241
  • Joined: 14-September 05
  • OS:none specified
  • Country: Country Flag

Posted 13 November 2012 - 09:17 AM

...and finally (to attempt to polish off this "who's better than who" nonsense...

jaclaz and I have also had a "go" before and it actually means... NOTHING!!! We have the highest respect for each other. BTW, I know more MAINFRAME languages than you, but it does NOT mean I may know more HARDWARE than you, nor does it mean I am BETTER at said languages than you. There is something called SHARING INFO - be aware that SOME of it may be erroneous (as you found out) on either end.

In view of that, just let it go and pay more attention to the information and the phrasing (don't be touchy)...

P.S. VM is "kind of" a misnomer in general context - you mean it as "Virtual Memory", I use it as "Virtual Machine". I've always referenced it as Paging File, since this term is also applicable to Mainframes (ye olde IBM monsters). Also, one may have (erroneously) "assumed" since you're not a "n00b' that you would have known about the Explorer settings... ;)

Welcome to our world. :w00t:

edit - hi-lited a key point...
edit2 - clarification - LOGICALLY, the Page File can't "exist" on a Device that won't exist until defined (USB drivers loaded)... true? Hence the "filters"...

This post has been edited by submix8c: 13 November 2012 - 09:22 AM


#30 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 13 November 2012 - 10:47 AM

View Postsnoopy55, on 13 November 2012 - 09:11 AM, said:

Sort of what a n00b like me did after I took the time to look into exactly what my system was doing as far as placement of the pagefile.sys

... possibly because jaclaz hinted the procedure to do this kind of tests.... :whistle:

To hopefully close this issue, once and for all, my post was not meant to be an "everything you ever wanted to know about pagefile and Virtual Memory and you never dared to ask" kind of post/tutorial/guide, it was a simple, plain answer to the question you asked, meant as a three step procedure:
  • hinting the possibility that your initial beliefs were not entirely correct:

    Quote

    What I find very strange (besides what you want to achieve) is what you report.

  • stating the actual facts:

    Quote

    The ability to put a pagefile on a USB stick is determined by a number of things (ways the OS "sees" the device).
    ....
    A "normal" MS NT based OS won't allow having a pagefile on an "external" disk, let alone a "removable" one.

  • providing a possible solution or anyway iinformation corroborating the previously exposed facts:

    Quote

    To allow this normally a filter driver is used, see here for DiskMod:
    http://reboot.pro/9461/
    http://reboot.pro/9461/#entry86619/
    which comes also in a 64 bit version, though tested only on later systems (Vista and 7) AFAICR.


Now, re-reading the post for the nth time, following your critics on it, I am actually patting myself on the shoulder for having been able to sum up so well in a few lines all the essential points.

Now let's play "what if" ....
  • Could I have been more verbose and explicit? Yes :yes:.
  • Am I actually obliged by signed agreement to be more verbose and explicit when attempting to help people for free on the forum? No. :no:
  • Could you have been more "open" to suggestions (since you came here asking for them)? Yes :yes: .
  • Could you have been more convinced (as said I believe in perfect good faith) of your experience with Virtual Memory? No. :no:
  • Was such experience with Virtual Memory on 32 bit XP representing actual facts? No. :no:


Now, that is anyway the past, the actual issue has been cleared, let's get over it, OK?

jaclaz

This post has been edited by jaclaz: 13 November 2012 - 10:50 AM


#31 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 4,862
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 15 November 2012 - 02:02 AM

[off topic]

View Postdencorso, on 10 November 2012 - 11:09 PM, said:

:blink: Foreign language? There's not a single word not in English in the thread jaclaz pointed you to. :wacko:


View Postsnoopy55, on 11 November 2012 - 02:43 AM, said:

dencorso, am I to take it you are attempting to be funny there?

Just in case you are not.........

"I looked over the two sites you listed and there is to much foreign language there for me." The 'foreign language' reference is older than I am. I used it because of the fact that a foreign language is not something I can understand, and since I cannot understand what was posted on that site, it is like a foreign language to me. B)

@snoopy55: No I wasn't trying to be funny. You see, even if it was clear to me that you meant "not English" by "foreign language" and my reply is consistent with that understanding, and despite the fact that, way too many moons ago, when I actually lived in the US, I did hear "foreign language" meaning "ununderstandable" numerous times, I had actually forgotten "foreign language" can actually have this latter meaning, so it eluded myself completely that that was what you meant, and hence I did express my perplexity at your comment. Sorry. I should have thought about it longer before posting that reply, and perhaps it would have dawned on me what your comment was intended to mean. Then again, you failed to realize many of those replying to you, me included, are *not* native speakers of English, no matter whether we can express ourselves well in it or not, so that, in fact, for us at least, English actually *is* a foreign language... MSFN is actually a truly international forum that uses English as the common communication language!
[/off topic]

And, BTW, since I didn't say it before, welcome to MSFN!

#32 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 15 November 2012 - 03:03 AM

Still off topic :w00t: .
http://en.wikipedia....iki/Greek_to_me

Quote

That's Greek to me or It's (all) Greek to me is an idiom/dead metaphor in English, expressing that something is not understandable.

BUT ;):
http://legalminds.lp...l/msg00203.html

Quote

>From John Phillip Mustachio of Houston, this excerpt from the trial
testimony of the plaintiff, whose first language is Greek.

Q. What I'm trying to do, Mr. Emmanonil, is to show that you have quite a
bit of experience in owning and operating real estate, do you not?
A. No. The only one experience I have is just to - to know how is the
valuable of the land is going to go up or down. That's I'm good only. But
legal phrase like this one, I'm zero. Like I say earlier, I have gift know
when is good piece of land or not. The rest of this stuff it's English to me.

:lol:

jaclaz

#33 User is online   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 15 November 2012 - 04:35 AM

And yet another "one last point" ...

@snoopy55, I don't know if jaclaz, or anyone, knew that 32bit XP would "allow" you to choose a non-valid drive for the paging file and then outright LIE to you about where it actually was, leading you to your mistaken impression that started this whole thread. I sure didn't know that. jaclaz was correct in post #9 when he stated that 'A "normal" MS NT based OS won't allow having a pagefile on an "external" disk, let alone a "removable" one.', then Ponch came the closest to your situation in post #13 when he actually tried what you had done and then said "all 4 volumes (2 on the HDD) appear in Virtual Memory settings, but ... there is no new file on that key". But yet no one came out and said that what is shown in the Virtual Memory settings control panel is not guaranteed to be accurate. I'm sure if anyone who responded to this thread knew that they would have said so and cleared things up long ago. So as it is, regardless of how argumentative the thread became, I believe we all owe you thanks for helping us all learn something. At least I do.

Cheers and Regards

#34 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 15 November 2012 - 06:08 AM

View Postbphlpt, on 15 November 2012 - 04:35 AM, said:

I don't know if jaclaz, or anyone, knew that 32bit XP would "allow" you to choose a non-valid drive for the paging file and then outright LIE to you about where it actually was, leading you to your mistaken impression that started this whole thread. I sure didn't know that.

Well, I can assure you that jaclaz did know about that (for XP 32 bit) AND posted a number of external sources in #18 to that effect, the actual behaviour might be slightly different depending on a number of factors, but the simple description in post #24 should be accurate enough.

But if you think a bit about it, set aside the foolish (and deceiving :ph34r: ) way that MS used to implement the Virtual Memory Control Panel and the mechanism, the "decision" to NOT put the pagefile.sys on an "external" device makes a lot of sense.

The pagefile.sys is "hooked" at boot time (and thus changes to it require a re-boot), what will happen if you have a pagefile.sys on a USB stick or HD and you decide "mid-session" to disconnect it?

You have to consider that while nowadays a pagefile, and much more than that a pagefile 1.5 to 2 times the size of RAM is rarely (please read as "almost never") used if not if there is an issue with the system, like an app going beserk and eating all the RAM, or if there is a crash and a dumpcheck is created, in times of machines with 256 or 512 Mb and possibly 1 Gb of memory it was very frequent that it got "hit".

As a matter of fact - and I don't want to start yet another "is pagefile needed/no it is not" or "it must be 1.5 or 2 tiimes the RAM/No, that makes no sense" usual flamewars - I have machines with "enough" memory that run OK since years without a pagefile set.

There are few things as "personal" as the choice on how exactly to set a pagefile :yes: :
http://www.msfn.org/...and-contiguous/

And it is often used by IT admins as one of those stories you tell kids around the fire or fireplace in a rainy winter evening ;) :
http://www.msfn.org/...it-environment/

Back to the topic of having a pagefile on something that you can remove "live", more or less on a low memory machine you would be telling to a booted system that it has available 256+512 Mb of memory and after it is "convinced" of this you can (by accident) hot-unplug 2/3 of memory..... :ph34r: as one of the given liks states kernels tend to like not this kind of tricks.

The actuall DiskMod filter driver was developed for a specific use, when you actually boot from USB and you may have two different kind of problems:
  • no pagefile.sys at all because the machine has no suitable "internal" disk
  • "polluting" an internal disk filesystem with a pagefile.sys automatically generated



jaclaz

#35 User is offline   Ponch 

  • MSFN Master
  • Group: Patrons
  • Posts: 2,954
  • Joined: 23-November 05
  • OS:none specified
  • Country: Country Flag

Posted 15 November 2012 - 07:48 AM

View Postbphlpt, on 15 November 2012 - 04:35 AM, said:

then Ponch came the closest to your situation in post #13 when he actually tried what you had done and then said "all 4 volumes (2 on the HDD) appear in Virtual Memory settings, but ... there is no new file on that key". But yet no one came out and said that what is shown in the Virtual Memory settings control panel is not guaranteed to be accurate. I'm sure if anyone who responded to this thread knew that they would have said so

Thanks. It was more than implied in that post of mine (read full post). In fact, I still don't understand what else Snoopy55 was thinking to have achieved. To change that setting, you need to click on an "Advanced" tab twice. I'm still confused how advanced his knowledge of virtual memory is as the very first (if not the only) thing most people know about that setting is that it changes the place and size of the "Pagefile.sys", yet seing this was not the case, he was not impressed and still somehow suggesting something had changed somewhere in the ether and we had to prove him wrong.
A bit like
-How do I put a turbo on an electric motorbike?
-bad idea, won't work
-might sound crazy to you but I've done it on my electric car, now please help
-can't be done because electric motors don't have exhaust and that's what turbo needs. Could work on hybrid cars.
-your explanation is too complex, I checked for a hybrid bike but I can't find one.
-I see it can be fastened under the hood but won't have any effect, is there any indication that the car is more powerfull?
-no, but still I've done it, please prove that the car should be more powerfull if I place a turbo on the motor.
-... err...right. :wacko:

Surrealism ... aahh...Belgium.

#36 User is online   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 15 November 2012 - 04:16 PM

Well, he admitted later (which we had no way of knowing) that his knowledge of virtual memory was practically nil, and also hadn't realized that in order 'To view the Pagefile.sys file along with checking "Show hidden files and folders" you must also uncheck "Hide protected operating system files (Recommended)"', (yes, MS didn't make it easy/obvious for the uninformed user to see, but it's a rather important file, so that's to be expected), so to give snoopy55 the benefit of the doubt, if I had been in his place I would probably have believed the Control Panel as well. He didn't see anything (but it's supposed to be virtual, right?), he didn't get any errors, everything "worked", performance was good, so with the knowledge he had about pagefiles/virtual memeory why shouldn't he have believed what the Control Panel told him?

No one gave snoopy55 incorrect information, but without having it all together at once, his experience of what he was seeing with his eyes contradicted what he was being told. As a person new to this aspect of Windows, I guess that snoopy55 would have loved to have had this as the first response to his original post:

If Only said:

Quote

A "normal" MS NT based OS won't allow having a pagefile on an "external" disk, let alone a "removable" one.

To allow this normally a filter driver is used, see here for DiskMod:
http://reboot.pro/9461/
http://reboot.pro/9461/#entry86619/
which comes also in a 64 bit version, though tested only on later systems (Vista and 7) AFAICR.


So,

Quote

What I find very strange (besides what you want to achieve) is what you report. :w00t:


You should look to see where the Pagefile.sys actually is. ['To view the Pagefile.sys file along with checking "Show hidden files and folders" you must also uncheck "Hide protected operating system files (Recommended)"'] Be aware that there is a bug in 32bit XP such that:

Quote

32bit XP would "allow" you to choose a non-valid drive for the paging file and then outright LIE to you about where it actually was, leading you to your mistaken impression

AFAIK, in order for a location to be used as virtual memory/pagefile, a Pagefile.sys file must exist there regardless if the pagefile is actively being used at that time or not.

Quote

But if you think a bit about it, set aside the foolish (and deceiving :ph34r: ) way that MS used to implement the Virtual Memory Control Panel and the mechanism, the "decision" to NOT put the pagefile.sys on an "external" device makes a lot of sense.

The pagefile.sys is "hooked" at boot time (and thus changes to it require a re-boot), what will happen if you have a pagefile.sys on a USB stick or HD and you decide "mid-session" to disconnect it?


Please confirm where any Pagefile.sys files are located anywhere on your system and get back to us if you still have any questions.


At which point snoopy55 would have probably said "Ohhh. Thank you very much, my mistake. LOL :)" and gone on his way and this would have been a three post thread. But without all the ruckus that was raised, I, for one, would have most likely skipped over this thread and it would not have made the impression on me that it has in its present form. So I still say "Thank You" to snoopy55 for having raised the issue, even though I'm very sorry that the discussion got so heated and that anyone's feelings were hurt.

EDIT: By the way, I noticed in snoopy55's pics that he had set the minimum/maximum settings for his Kingston pagefile slightly differently, ie 1023/1024 MB. I believe that the accepted practice, if you are not going to have them set automatically, is to set them to the same value, ie 1024/1024MB. But I could be wrong.

Cheers and Regards

This post has been edited by bphlpt: 15 November 2012 - 05:03 PM


#37 User is offline   dencorso 

  • Adiuvat plus qui nihil obstat
  • Group: Super Moderator
  • Posts: 4,862
  • Joined: 07-April 07
  • OS:98SE
  • Country: Country Flag

Posted 16 November 2012 - 12:53 AM

View Postbphlpt, on 15 November 2012 - 04:16 PM, said:

By the way, I noticed in snoopy55's pics that he had set the minimum/maximum settings for his Kingston pagefile slightly differently, ie 1023/1024 MB. I believe that the accepted practice, if you are not going to have them set automatically, is to set them to the same value, ie 1024/1024MB.

Many do that, yes... then again, here I fully agree with jaclaz:

View Postjaclaz, on 15 November 2012 - 06:08 AM, said:

There are few things as "personal" as the choice on how exactly to set a pagefile :yes: :
http://www.msfn.org/...and-contiguous/


#38 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 16 November 2012 - 05:11 AM

@dencorso
In this specific case I disagree :whistle: .
The setting for a pagefile (not system managed) has to be chosen between:
  • fixed size (like 1024-1024) <-Smart IMHO
  • "dynamic" (like 1024-2048)<-Senselsss IMHO


The third option "dynamic with no slack" (like 1023-1024) is one that makes even less sense.

The idea with "fixed size" is that when the pagefile is hit AND it's fixed size is filled, the system will nicely crash.

The idea with "dynamic" is that once pagefile.sys is "hit", AND it is filled for it's minimum size, it starts expanding until it reaches the maximim size, THEN the system will crash nicely of course IF there is enough available space for the pagefile to "grow".

The foolishness of the "dynamic" is that it takes time (and system resources) to resize the pagefile, so, in a situation where the system is on the verge of crashing you add some stress to it.
That, in determinate conditions (and with the big caveat of available space) may make some (little) sense if the "expansion range" is "big".
With 1 Mb difference it makes not any.

BTW, on low memory systems, it makes sense to make a dynamic pagefile, say, something like 100-2048 in order to test the system (intentionally loading it to the max/overloading it) to find a more accurate value for the max range used, lets'say 1536, and then set it fixed to 1536-1536.

Additionally a "dynamic" pagefile, if "hit", will contrubute to fragmentation, and for any "diagnostic" use of the pagefile.sys as "dump" it is much more convenient to have it in "one piece" as only the "fixed" setting may guarantee.

With today's hard disk sizes, it makes no sense however to "spare" a few Mbytes of hard disk space anyway.

@bhplt
  • someone else - in perfect good faith - provided 5 partial or unrelated answers to the original question.
  • OP - remarked this in a somewhat "I know more than you do" approach, and reiterating the question as "So again, we are right back to the question, is there a way to get XP x64 to be able to use a USB as VM?"
  • I initially answered to that question (and nothing else), and I did it VERY accurately, it was NOT my intention to make a course on vityual memory or pagefile.sys and from the approach of the OP, my intention was to post EXACTLY what I posted, and I also explained the reasons why I did post EXACTLY that and not nothing else in post #30 and also some "what if"
  • I want to re-affirm the fact that I am NOT binded by any contract or agreement to spoon feed anyone, particularly when I feel like not doing it, nor that I need to "make friends" with anyone, hence I feel free to post whatever I like to, in the EXACT way I like to, within the limits of Board Rules, of course.


Of course you are perfectly free to tell me what I should have posted and how I should have worded it, but I find it a perfect example of exercise in futility.

Let's use a carpenter's comparison :w00t: :
a fictional_customer goes to the hardware store and:

fictional_customer said:

I want to to fix a steel plate with some nails on a reinforced concrete wall, I used to do that with common iron nails and a hammer, but somehow I cannot manage to do it anymore in my new house, how do I do it?

fictional_hardware_store_manager said:

I don't think it is a good idea to plant nails wiith a hammer in a reinforced concrete wall, expecially to fix to it a steel plate, and I doubt you ever managed to do that.
Normally you cannot plant common nails in a reinforced concrete wall with a hammer.
What is normally used for concrete walls are wall plugs/screw anchors/dowels, and you need a drill to install them, here is the only one I have available....

fictional_other_customer_at_the_counter_say_Ponch said:

Have you checked it is well fixed?
I tried doing the same, but it seemed not stable.

(fictional_customer' walks away, coming back the day after with some photographs of a steel plate with a hook welded to it nailed to a wall)

fictional_customer said:

You see, I have been doing DIY jobs all my life, and I used to work as carpenter, painter and truck driver.
Here is the steel plate I fixed to the wall on my old house, as you can see it is fixed with nails, and I can guarantee that I planted them with a hammer

fictional_hardware_store_manager said:

Good :), have you tried to put some load on the hook? (just to make sure it is fixed in a solid way, can you try hanging to it, let's say, some 100 pounds)

(fictional_customer' walks away, coming back the day after)

fictional_customer said:

I found an interesting fact.
I tried putting some weight to the hook.
I had to use a rope to hang the load to the hook (you didnt mention using a rope at all).
The hook and steel plate came off the wall

fictional_hardware_store_manager said:

Yes, this is normal, that's why I told you to use some anchors, what happens is that when you plant the nails they seem to be steady but they cannot hold on concrete enough to carry an actual weight.

fictional_customer said:

You could have explained that better and from the start.

fictional_hardware_store_manager said:

Yes, I could have, but I didn't, since you seemed - and actually presented yourself as - an expert.

fictional_bhplt_passing_by said:

That hardware store manager is queer, he could have explained better how nails are not the right choice to fix steel plates on walls if the hook on the plate is to be loaded. I didn't knew that, but he could well have explained since day one, if he had been more explicit, than the customer would have bought the drill and anchors the first day.


And, still just for the record:

View Postjaclaz, on 12 November 2012 - 02:41 PM, said:

Can you open that "USB card" in explorer and see if there is in its root (possibly hidden/system) a file named "pagefile.sys"?

View Postsnoopy55, on 12 November 2012 - 08:17 PM, said:

To view the Pagefile.sys file along with checking "Show hidden files and folders" you must also uncheck "Hide protected operating system files (Recommended)" (you might have clarified this little much needed step Jaclaz )



jaclaz

#39 User is online   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 16 November 2012 - 06:20 AM

LOL Don't worry jaclaz, I was not aiming any criticism whatsoever at you. You notice I did not say "What someone should have told the OP from the beginning is ...", but rather "snoopy55 would have loved to have had this as the first response". I know that others gave partial or unrelated responses, I just said "No one gave snoopy55 incorrect information". I very fully realize that you and every other member of this board who try to answer questions posed on this board do so freely, voluntarily, out of the goodness of your heart, to the best of your ability, and with all good intentions. I recognize that the teaching method of giving enough information and hints for the student to discover the answer for himself, along with the why and how it works, is the best method for the student to truly learn not only the answer, but how to apply it to other problems. Your and Ponch's fictional examples also compare well to what happened in this thread. (Except that I know that you can't use nails to hold a steel plate on concrete walls :) ) I summarized the most important aspects of the thread for my own convenience if for no one else's. I guess it came off sounding like "we should remember not everyone knows the 'obvious' things we know", which, while that is good to remember, is not the only lesson in this thread. Another very important point is that the student should remember that if they are having a problem, it is just as likely they are doing something wrong as it is that they don't know what to do. If they are doing something wrong, then what they think they know or believe, or what they have done in the past, might not be correct either. When the teacher asks "Why do you believe _____?" or "Why do you want to do that?" or "You usually are not able to do that." there are usually very good reasons that they say that. All the best teachers I have seen ask questions to both draw out information so they can tell what the real problem is, and to make the student think and analyze the problem for themselves. In the end, that is what happened here and snoopy55 finally discovered his mistake. Could someone have laid all the information out for him in the first response? Yes. Could he have supplied more information himself at the beginning? Yes. Could he have accepted our response without question? Yes, but as you said, there was some partial and unrelated info given. It is also, I believe, human nature when given a response or instructions that fly in the face of what you are seeing with your own eyes to question or not believe the response. Until, that is, you learn you have been looking in the wrong place. :) Anyway, in the end the OP got his answer and learned something, so all is well.

Cheers and Regards

#40 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,409
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 16 November 2012 - 07:36 AM

It is not about "teacher" and "student" (that implies a different level of knowledge AND someone who is paid to teach while the other one pays and has - in theory - all the interest in listening).

It is about exchanging knowledge on technical issues, or solve a problem, there is no teacher nor pupil, and this is not a class, there is a question, and (if there is a known answer about that question) someone that hopefully provides the answer.

If the answer is not understood, further questions in order to clarify the obscure parts may well be asked, and actually common politeness requires to ask these questions (that will also hopefully be answered) before putting aside the answer as nonsense.
EXAMPLE:

fictional_asker said:

How do I frimble the grontish wibble?

fictional_member_replying said:

You cannot frimble the wibble, grontishly or not, without first trepling at least two stroppbaums.
See here:
wwwwwwwwww

fictional_asker said:

I used to be able to frimble the wibble without any previoous procedure, but I beg your pardon, I am not familiar with stroppbaums, nor with trepling at all, can you explain what you meant? :unsure:

fictional_member_replying said:

Sure, no prob :).
First thing you need to procure yourself a trepler, there is one availble here: xxxxxxxx, and another here: yyyyyyyyy.
Then you should read here: zzzzzzzzzzzz about the generic trepling procedure.
Once you will have grasped the general concept, will talk in detail about stroppbaums.

fictional_asker said:

OK, I read the given resources, but I cannot understand what a frottle is and how to use it in this context.

fictional_member_replying said:

A frottle is easy to understand, imagine a squeshter, but more froody, you simply braffle it over the trepler before applying it to the stroppbaums.

fictional_asker said:

Ahh, now I see, so you actually mean that I absolutely need to use the frottle to treple a stroppbaum?
And that stroppbaums, properly trepled, are needed in any case?
Really didn't know that, thanks.



I do perfectly understand the attitude of the OP, which is a very common one, so common that long before this thread was started it was "coded" in the linked to "common sense advice" (a remarkably UNcommon quality of people) in the already given link:
http://reboot.pro/82/
and it exists since the dawn of internet, in the X/Y/Z issue:
http://homepage.ntlw...red-banana.html
particularly, but more generally in the "How to ask questions the smart way":
http://catb.org./~es...-questions.html

jaclaz

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy