Forum Settings
       
Reply To Thread

What should my virtural memory settings be?Follow

#1 Aug 08 2005 at 8:07 PM Rating: Decent
Hello-

I would like to know what my virtural memory settings should be for running EQ.

System stats:

P4 3.20 Ghz w/HT
1.50 gig RAM
NVIDIA GeForce FX 5200 128 mb

I just re-installed EQ on a new PC and it seems to me that i zone a wee bit too slow. Other than that i rarely have any lag. Though it has been about 6 months since i've been on. A friend once had me change my virtual memory settings on my laptop and it made quite a bit of difference on the zoning time. Currently, it takes about 30 seconds to zone but i dont remember it taking that long. Plus this PC is much better than my laptop.

Thanks in advance.
#2 Aug 08 2005 at 10:01 PM Rating: Good
Encyclopedia
******
35,568 posts
First off, assuming you have Windows XP or newer as your OS, there really shouldn't be a need to adjust the virtual memory setting. It should automatically adjust to whatever you're doing. As long as you don't run out of disk space, you shouldn't worry about it. In fact, you can cause problems by setting it since that'll override the sytems automatic adjustment process and potentially end up with you having a non-optimal amount being managed by the system.

With 1.5GB of ram, the amount of virtual memory really shouldn't matter. Virtual memory is an amount of disk space that is allocated as (amazingly enough) "virtual ram". So if you don't have enough actual ram, data will be paged in and out of disk as needed. There's some complex algorithms involved in doing that as efficiently as possible, but with that much ram, it really shouldn't be an issue.

Given the amount of ram you have on that system, I see two probably causes of a zoning slowness:

1. Slow disk. Unlikely, since I assume the disk is "new" as well, and hopefully pretty fast. You have to remember that the zone files (information about the zonelayout itself) are stored on your local disk. When you zone, it copies that data from the files on disk to memory so the program can access them. If you've got a slow disk, or some other operations tying up the disk, then that transfer could take some time.

Honestly, this shouldn't be a problem. Make sure that you don't have any odd programs starting up when you log in. Check your startup directory in your system and make sure it's empty. Aside from maybe a virus scanner, there's no reason to *ever* have stuff starting up automatically when you log in, doubly so if you use this system as a game machine. Unfortunately, many storebuilt systems will come pre-installed with all the windows utilities pre-started. They do that so people don't have to wait 3 seconds after clicking on a document for Word to open for instance. But having a full office suite running in the backround on your system will kill its performance.

Heh. And if you do have a virus scanner running, I'd strongly recommend turning it off when playing the game.

2. Slow network. It's a new computer. Is the network connection new? In addition to loading the base zone info from local disk, your computer will have to retrieve all the "active" zone information from the server when you zone in. That's going to include essentially a complete list of everyone and everything in the zone, where they are, what they're doing etc. If your ISP is slow, it'll show when you zone.

How fast is your comp at other network stuff? Do pages load up in a browser fast the first time you click on them? How much lag do you get when playing EQ in general (some lag is framerate from your video card, but some is network position update slowness)?


I can say with some certainty that changing your virtual memory setting is very unlikely to decrease your zoning times. On a machine with minimal ram, it will (since the sytem has to do less shuffling around of data), but with that much ram, it's not going to be the problem.
____________________________
King Nobby wrote:
More words please
#3 Aug 08 2005 at 11:14 PM Rating: Decent
**
515 posts
That video card will probably slow your zoning. Try a 6xxx family card.
#4 Aug 09 2005 at 8:02 AM Rating: Decent
*
103 posts
The general rule for virtual memory is one and half times yours availible ram. With xp you don't need to do any adjustment. If you have 2 hard drives then best bet is to have the virtual memory on the hard drive which doesn't have the operating system on it.
#5 Aug 09 2005 at 10:29 AM Rating: Decent
**
421 posts
I don't think I can disagree more gbaji.

XP and 2000 (and NT4.0) all can be improved with VM tweaks.

Microsoft's recommend minimum is one and half times yours physical ram. Thier recommended max size is 2 times your Physical RAM.

Windows does not use Virtual memory only when you run out of Physical memory. It dumps stuff to your page file all the time.

Your Page File (the huge area defrag cant touch) will become fragemented over time as the PC increases and decreases its size.

PERSONALLY I suggest setting the min and max BOTH to 2 1/2 or 3 times your physical ram Assuming you can afford the Hard Drive space. This will keep the file from growing and shrinking and becoming fragmented. I have also never seen a "Low on Virtual Memory" error as I have seen with Windows left to its own means and Using MS's recommendation.

I would set it to min and max of 3072 or if you have plenty of Hard Drive space I would go with 4608 for both settings.

Ideally you would boot the PC fresh with no apps running (including back ground apps like virus scanner) and set your VM to zero. Then run Defrag. and then set your VM to the number you like. This would make it unfragemented and unable to become fragemented in the future.

That process may be a tad over the top. And isnt really nessecary, depends on how **** you want to be.

Placing it on a 2nd harddrive alone would also be ideal but again isnt nessecary.



Edited, Tue Aug 9 11:41:17 2005 by sbs
#6 Aug 09 2005 at 11:46 AM Rating: Decent
I like to have 3 partitions.

1 partition for OS and applications.
1 partition for EQ
1 partition for swap file.

I set the swap file partition size to about 2 times the size of my ram.

#7 Aug 09 2005 at 5:57 PM Rating: Decent
Two Thumpbs up SBS!,

Letting windoze manage VM uses unnecessary resources, better to set it yourself.

Sbs gave good advice on Defraging too, you will have to disable VM (Set it to zero,min and max) first, restart comp, then defrag, then set the VM to 2-3 times Physical ram and restart again.

For stalls and freezes, I recommend the following tweaks:
the tweak by WillardK http://www.broadbandreports.com/forum/remark,82084;root=chat;mode=flat

And http://www.broadbandreports.com/faq/718

And strongly recommend DR TCP to everyone http://www.broadbandreports.com/faq/tweaks/1.%20DRTCP

BroadbandReports.com is a great place for many forums, and you can find solutions to just about any computer problem there.

#8 Aug 09 2005 at 5:57 PM Rating: Good
Encyclopedia
******
35,568 posts
sbs. I never said that performance couldn't be improved by playing with virtual memory. I *did* say that in the case of playing a single instance of EQ on a computer with that much ram, there is absolutely no reason to need to adjust VM, nor is there any reasonable expectation that he'll see any performance improvement as a result.

I'm well aware of how VM works. However, it is exactly as I said. It pages data to disk when memory is "full". Note, that it doesn't wait until you're actually out of memory. As I stated, there's an algorythm that calculates available real memory, system use, and the age of the data, and makes a determination as to whether to page out that bit of data. The threshold for "full" is therefore based on the age of the data and the remaining real memory available.

If the only thing he's running on his system is the OS itself and EQ, there is absolutely no reason he should *ever* be directly affected by the virtual memory settings. Not with that much ram. His memory threshold in relation to the "age" of whatever zone and game information he's actively using at the time should ensure that every single active component of EQ being used by his processor is in real memory all the time. Old data will be paged out to VM, but it'll never be used (unless he zones in and out of the same locations over and over or something, but that's still going to be a performance improvement over pulling the zone info from block data off the disk anyway).


VM does not get "fragmented" like regular data does. That's because it's not in block format. It's "raw" bytes of data space. And it'll happily overwrite old stuff, just like ram does. While you can tweak VM specifically for some performance applications (like if you run specific enterprise types of applications on a server and carefully control the size and volume of page data, like in a database application), but for a home system playing a game? He's far more likely to reduce the performance on his system by playing around with the VM settings then improve them.

Setting hard min/max values can potentially ***** up the system for other applications. Again. Unless you run only one specific type of application with very specific memory paging requirements, there's really no reason or benefit to playing around with the VM settings on your system.
____________________________
King Nobby wrote:
More words please
#9 Aug 09 2005 at 6:11 PM Rating: Good
Encyclopedia
******
35,568 posts
Ok. Just re-read what sbs posted. Yeah. The VM file can get fragmented within the context of the rest of your disk. I thought you were trying to say that the data within the file could get fragmented, which made no sense...

I still say that the performance hit from that is so minimal as to be irrelevant in this specific situation. When playing EQ, with that amount of ram, nothing he's actively waiting on will be paging. Only "backround" stuff with a very low priority. So, what you're effectively gaining is that a process that's taking up maybe .1% of your cpu time is being slowed down by about 1% *if* it has to page across a fragmented part of the VM. He's not even going to notice that.

Again. He's going to see far more "real" performance increase by making sure his system is not running anything unecessarily while he's playing, and making sure his network performance is good. Those will have real and direct effects on his zone times and lag while playing.
____________________________
King Nobby wrote:
More words please
#10 Aug 09 2005 at 6:18 PM Rating: Decent
Your video card could be the problem too, or part of it.

get one with double the memory, I use the e-GeForce FX 5700LE with 256 MB ddr AGP slot, very good value for the buck.

If you dont have a RAID setup, that would help tremendously too, I have two WD 36.7GB sata 10,000rpm Raptors set in a raid 0, they are screaming fast,I am almost always the first of my group to zone hehe, i heard the 74gb raptors are even faster in a raid 0.
#11 Aug 09 2005 at 8:42 PM Rating: Good
***
2,198 posts
What kind of connection are you playing on? Gbaji is right that the zone files are kept client side, but a lot of the info regarding what's going on IN the zone is kept server side and a lot of that info has to be downloaded to the client when you zone. I noticed a marked improvement in zone times when I switched from dialup to cable. My zone times went from around 40 seconds down to less then 10. Same computer (and it was crap I'm telling you, 855mHz PIII, 512megs of old SDRAM, PCI Voodoo4 (64meg) video card). If I could get 10 second zone times just from switching to cable with that system, I would say that your connection plays a HUGE role in zone times. When I got my new PC (3.2 P4, 1gig DDR2, X300 PCI-e graphics card) I didn't notice any real difference in zone times, just in general lag.
#12 Aug 09 2005 at 9:13 PM Rating: Good
Encyclopedia
******
35,568 posts
erikofsantarosa wrote:
Your video card could be the problem too, or part of it.

get one with double the memory, I use the e-GeForce FX 5700LE with 256 MB ddr AGP slot, very good value for the buck.


A video card has absolutely nothing to do with zone times, which is what he was complaining about. If he's getting some stuttering while playing, then a video card upgrade could be warrented, but the only thing that affects zoning times is the time it takes to replace the current active zone information with the info for the new zone. That's going to come from two places. Your hard drive contains all the static zone information, and the server contains all the dynamic stuff. That's what affects zonetimes. Period. Since he's got more then enough ram to run all of that in ram directly, then the issue is not storage and shuffling of data segments (which VM would affect), but purely transmission times.

That leaves two sources. Disk and network. He might be able to increase the disk performance a tiny bit, but should not be getting 30 second zonetimes no matter how slow and congested his disk is. Thus, the largest single factor for this particular problem is going to be his network.

Quote:
If you dont have a RAID setup, that would help tremendously too, I have two WD 36.7GB sata 10,000rpm Raptors set in a raid 0, they are screaming fast,I am almost always the first of my group to zone hehe, i heard the 74gb raptors are even faster in a raid 0.



Eh? Not really. It *really* depends on how your RAID is set up, and how your data gets laid out on the disks. A simple RAID 0 actually does nothing to improve performance. All it's doing is concatenating two or more drives into one big drive. You actually take a small performance hit doing that, and make your system more vulnerable to a single disk failure.

Concatenation with striping (0+1? 2? Can never remember the numbering), can improve performance, since you're basically utlizing two or more times the heads when writing or reading data. The disk(s) writes data across multiple disks at the same time instead of to one disk at a time, allowing for faster writes, and therefore faster reads when retrieving data written across the disks in that manner. Standard RAID 0 still just writes from top to bottom essentially, so if you don't specify stripping, you're not getting any benefit.

There are downsides and some caveats though. You wont gain much if you stripe your partitions across multiple disks, but still keep your system disk the same as your data disk. The OS (as mentioned earlier in the discussion of VM) is somewhat continously performing small read/write operations on the disk (temp files, paged data in VM, etc). This will always interferre with writes to other sections of the same physical disk. A stripped partition on the same disk still suffers from the seek times between those operations. We're getting down to some small differences here, but it is enough that combined with the overhead of the RAID itself, will nullify any gains from RAID in most situations.

For game playing performance, you're actually usually going to be better off buying two disks, but instead of putting them in a single RAID controller, simply use one for your system disk (C drive on Windows systems), and the other for your games and applications that you install. Put them on two different controllers! That's critical. Your system will come with two IDE controllers inside it. Put your two disks on two different ribbon cables from two different controllers. IDE is a pretty brain dead controller standard. It allows only a read cycle or a write cycle, and all devices on the chain have to wait for a turn with a cycle. If you put both your devices on a single controller, then every time you read data from one and write it to the other, you're taking twice as long to do so as if you'd put the disks on separate controllers.

The absolute worst of course is trying to run some sort of software or bios run RAID on two disks on the same IDE chain. You're going to lose performance all the way around. It's one of those things people buy cause it sounds like it's "fancy", but is actually going to hurt you a bit. If you have a dedicated hardware RAID controller, it'll work better (you didn't mention if this was a hardware raid solution, or just two disks running software raid on top of a normal IDE controller configuration). But again, most systems that advertise RAID, actually just have a special bios setup on the MB that allows the two disks to be more easily accessed by software raid in the OS. It's not "true" hardware raid. The controllers are still IDE, and still have the same limitations.


Um... And that's all ignoring the single disk failure problem. With two separate disks, if one fails, the other is still good. I can replace the failed disk and restore it easily. If one disk of my raid 0 setup fails, I've lost all the data and the system. Good luck getting that back unless you're **** about backups. You're going to be restoring from CD and using your backup tapes, cause that's all you can do.


RAID is s solution for a problem you probably don't have on your home PC. There is almost *zero* reason for you to use it.
____________________________
King Nobby wrote:
More words please
#13 Aug 10 2005 at 11:43 AM Rating: Decent
**
421 posts
Sorry if I was confusing on my Fragmenting comment. I ment as the swap file grew and shrank it would write in avilable space and there for around exsisting data there for fragmeenting itself as it changed size.

Fixing the min size to the same as max size stops that from happening.

I will admit I was talking more of a "This is my recommendation for your PC in general."

Not "This will help EQ specifically."

I will also admit that I am a PC tech. I work on Secretary's and Engineer's PCs 40 hours a week. (okay minus the 10 hours I spend surfing EQ related websites) I have learned over the years that I DO NOT know everything. If anything I learn every day how much I don't know about computers.

Setting the min=max has been working for me on various PCs, running various OSs, in various envirments, at several corperations, over 7 years. It has resolved many peoples Running low on Virtual Memory errors. Many people have said thanks my computer is running better since you been there.

BUT I can gladly say that this may have NO effect on your performance in EQ. We don't play EQ at work =D

I present you with another suggestion differnt than gbaji. He isn't wrong, just of a differnt mind set than I am.

But remeber gbaji and I are just some guys on the internet, not someone who's butt you can kick if it breaks your PC.
#14 Aug 11 2005 at 1:38 AM Rating: Decent
Quote:
A simple RAID 0 actually does nothing to improve performance. All it's doing is concatenating two or more drives into one big drive. You actually take a small performance hit doing that, and make your system more vulnerable to a single disk failure.


What a bunch of nonsence!!!.

A raid 0 is a striped array, it takes the data and splits it in half, putting half on one drive and the other have on another, hence doubling the read/write/seek times. Also, more imortantly, if you are using a Serial ata drive, you cant get the most throughput (serial ATA 150Mbps) unless you are using a raid array with the correct (Intel,in my case, depends on chipset) raid drivers, windows does not provide RAID drivers, to obtain the maximum speed potential for these types of Harddrives. The default drivers that windows provide are Non-RAID and only allow you to get Serial ATA 100Mbps(even if your MOBO,HD,etc.. are equipped to support RAID and 150Mps sata).

If you are not using a raid array, as I suspect that you are not, my overall system performance will be 2 to 4 times faster than yours with the same or comparable drives ( only one other SATA drive that I know of that has a 10,000 Rpm, and the raptor is faster in all performance test, using Sandra or HD Tach. An ex. of my current HD Tach test results are as follows:
Random Access: 8.3ms
Average Read: 99.4MB/s
Burst speed: 190.1MB/s

A little more on raids.......:
Gbaji is very confused on what is and is not a striped array, A RAID 0, like I mentioned, IS a Striped array. A Description from my Motherboard's users manual(ABIT IC7)....

" The ......Serial ATA controller supports the RAID Array of both Striped (RAID 0) and Mirrored (RAID 1). For the Striped RAID set, the identical drives can read and write data in parallel to increase performance. The Mirrored RAID set creates a complete backup of your files. Striped and Mirrored set requires 2 hard disks to do so."

And later...."Striping (RAID 0): This item is recommended for HIGH PERFORMANCE usage." ....ETC.
then you get into the combination of both that requires at least 4 hard drives, but I wont go there, hehe.

Even if you use a IDE controller, as opposed to a SATA controller (like my onboard Intel 82801ER SATA RAID Controller), you will still see a sigificant system performance increase using a RAID 0 configuration versus a non-raid config.\

However, if you dont have an onboard SATA controller, I strongly suggest getting a SATA RAID Controller Card to install and go that option rather than the IDE controller, as it will provide a much faster transfer rate and you will be able to obtain the true potential of your SATA drives and a RAID config.


If you dont know what you're talking about , dont correct others, period. Sorry for my tone, but cant stand people, who know a little, pretending they know everything.

Also , you were right about the disk and the network, but seem to have forgot the video card is the hardware that has to take all that data and display it, its video memory will play some role in how fast you display the new zone. Dont forget that some of the zone data is stored in video memory. With that said, it will be a smaller factor, the hard drive(S) are more important, a raid 0 using the drives I mentioned will have a sigificant impact on zoning speed.

I agree the network is equally important, which is why I suggested certain tweaks (above post), to test your network speed, latency and Line quality go here.... http://www.broadbandreports.com/tools


Of course this gets way off base from the VM question, but if you want High perfomance gaming, A RAID 0 is a must have,period.
Also, check out the links I gave on network and internet tests and tweaks, that will help too.








Edited, Fri Aug 12 03:51:47 2005 by erikofsantarosa
#15 Aug 11 2005 at 1:51 AM Rating: Decent
sbs wrote:

Windows does not use Virtual memory only when you run out of Physical memory. It dumps stuff to your page file all the time.

Your Page File (the huge area defrag cant touch) will become fragemented over time as the PC increases and decreases its size.
Edited, Tue Aug 9 11:41:17 2005 by sbs


I use Perfect Disk 6.0, it will touch those files, and defrag em too, hehe. You cant do an offline Defrag with windoze default defragger, but you can with Perfect Disk, and other defrag other files as well, that windoze cant normally touch. PD is made by RAxco software, www.raxco.com.
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 98 All times are in CST
Anonymous Guests (98)