Reply
Old April 1st, 2002 Top | #1
Ramanuman
 
Ramanuman's Avatar
Unregistered
Posts: n/a

Default HEX Conversion

Hi folks,
Would someone be kind enough to tell me how to operate a conversion in HEX ?

-I'd like to tweak my diskcaching according to the instructions below, but I have 320m of RAM.
(I thought simply clicking HEX on the scientific calculator would do it, but when I tested it, it gave me completely different results than the ones in the examples...)

Here's the tip (it's from this site) :

«Speed up Diskcache
Open Regedit
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory ManagementIoPageLockLimit];
Modify the value in Hex depending on the size of your RAM
RAM: modified value(Hex)
64M: 1000;
128M: 4000;
256M: 10000;
512M or more: 40000.
Reboot. »

Thanx.
Ciao
  Reply With Quote
Old April 2nd, 2002 Top | #2
 
Qumahlin's Avatar
OSNN Veteran Addict
Joined: December 2001
Posts: 2,006
Reputation: 0
Power: 148

Default

just goto your registry, edit the key and put it in as decimal, then click the hexadecimal button and it will convert it over automatically
Qumahlin is offline   Reply With Quote
Old April 2nd, 2002 Top | #3
Ramanuman
 
Ramanuman's Avatar
Unregistered
Posts: n/a

Default

Thanx Qumahlin!
I figured that was an option but: "when in doubt, do nothing"... (especially when it concerns your registry).

Only one thing though : maybe I misunderstood the tip in question, because 1000 doesn't appear to be the hexadecimal value for 64, as I thought the example meant...
-Would it be that the values given are constant ? If so then I'm still wondering which one I'll have to use for 320m.
  Reply With Quote
Old April 3rd, 2002 Top | #4
Ramanuman
 
Ramanuman's Avatar
Unregistered
Posts: n/a

Default

Think I may have found it...

64 X 64 = 4096. Once converted in HEX, it gives 1000
128 X 128 = 16384. In HEX : 4000.
And so on.
So I just multiplied 320 by itself and converted.
  Reply With Quote
Old April 3rd, 2002 Top | #5

OSNN Folding Team  
Brad's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: Cary, NC
Posts: 2,276
Blog Entries: 1
Reputation: 1552
Power: 161

Default

1. goto the calculator
2. click in the "Hex" radio button
3. type in the Hexidecimal number
4. click the "Dec" radio button
5. the answer is in the window





Brad is offline   Reply With Quote
Old April 3rd, 2002 Top | #6
Ramanuman
 
Ramanuman's Avatar
Unregistered
Posts: n/a

Default

Thanks xxbigeyedfishxx, but that's not quite the problem after all.
Converting to and from HEX is rather simple indeed. But what I need (or needed?) to figure out was what value to enter for 320m...

In the examples they gave :
64m : 1000
128m : 4000
256m : 10000
512m : 40000

My original question was based on the assumption that the corresspondances above were a matter of converting the amount of ram in HEX. But the given values didn't correspond. So I had to try and figure out how to end up with 10000 when starting from 64 ; with 40000 from 128 ; etc., in order to be able to calculate the value for 320m.
(Do you all follow?)

Finally, somehow it hit me :
If you take any of the amounts of ram in the examples, multiply them by themselves, and then transform the result in HEX, you do obtain the corresponding values.

So I multiplied 320 X 320 and got 102400.
Then I transformed 102400 in HEX, and obtained 19000.

In consequence I entered 19000 in the IoPageLockLimit registry key.

(Now I'm only hoping my pc doesn't blow up or anything...)

Anyway, thanx to both of you for your help.
(And if someone knows that I'm terribly wrong, please say so.)
  Reply With Quote
Old April 3rd, 2002 Top | #7

OSNN Folding Team  
Brad's Avatar
OSNN Veteran Addict
Joined: March 2002
Location: Cary, NC
Posts: 2,276
Blog Entries: 1
Reputation: 1552
Power: 161

Default

oh ok im sorry i didnt quite understand what you were asking. but ur answer looked fine to me! :-)





Brad is offline   Reply With Quote
Old April 4th, 2002 Top | #8
Ramanuman
 
Ramanuman's Avatar
Unregistered
Posts: n/a

Default

No probl.
I appreciate that you guys tried to give me answers a lot :-)
  Reply With Quote
Old April 4th, 2002 Top | #9
Tiny Turtle
 
Tiny Turtle's Avatar
Unregistered
Posts: n/a

Default

Real Programmers always confuse Christmas and Halloween because OCT 31 == DEC 25
  Reply With Quote
Old April 20th, 2002 Top | #10
shaydenb
 
shaydenb's Avatar
Unregistered
Posts: n/a

Question Where is it?

I do not have the IoPageLockLimit DWORD anywhere in my registry.
Can I add it?
  Reply With Quote
Old April 20th, 2002 Top | #11
Hilander
 
Hilander's Avatar
Unregistered
Posts: n/a

Default Re: Where is it?

Originally posted by shaydenb
I do not have the IoPageLockLimit DWORD anywhere in my registry.
Can I add it?
I wouldn't worry about, as it seems it isn't used in XP.
There was a thread about it at the TweakXP forum- Allen would know more about the techy aspect of it.
  Reply With Quote
Old April 20th, 2002 Top | #12
Dirk Diggler
 
Dirk Diggler's Avatar
Unregistered
Posts: n/a

Default

Here's the link to the "IoPageLockLimit" page you were reffering to Hilander:- ClickMe
  Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
wma conversion problems ( kiko.carol Windows Desktop Systems 1 May 24th, 2006 12:58pm
VCD conversion bloodfyr Windows Desktop Systems 2 June 4th, 2003 2:09am
WMV conversion brocher Windows Desktop Systems 1 March 3rd, 2003 10:48pm
Win 2K - XP Conversion Drew52 Windows Desktop Systems 3 April 6th, 2002 12:35am
wav to mp3 conversion 1bLaDe1 Windows Desktop Systems 11 January 31st, 2002 6:34am