- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help and Guidance on Cygwin and ns2 ›
- to install ns2 2.34
Generally a patch written for ns2 will work on any installation 💡 (both ns2 on linux or ns2 on cygwin). But some times you may face some type errors or deprecated function errors during compiling ns2 after patching it. Most of the times, these kind of errors can be rectifies (using type casting or some simple modification in code) – The most of these errors will mainly depend up on the version of gcc compiler in that platform. It means if you are facing such error while patching ns2 on a particular version of linux then probably you will not have the same error on some higher of lower version of the same linux varient 🙄 (or different version of cygwin – on windows). [Different version of linux/cygwin will packaged with different version of gcc ]
– I think I have confused you too much 😀 – But in fact this is the main problem people are facing while struggling with ns2. Most of the times they fail 😥 because they never understand the thing which I have explained in the above paragraph.
I forgot to tell one thing – The old version of cygwin can not be installed on 👿 Vista/Windows7. The very latest versions of cygwin can only (said to) be installed on Vista/Windows7 😈 (with minimum problems).
Old version of cygwin can be installed on Windows XP without any problems. and even, almost all the versions of ns2 can be made to work on it 😀 .
Thanks for your help. I have one more question regarding installation, i have 1GB RAM and Celleron processor and Win Xp OS. The question is regarding Performance , If I install ns2 2.34 with cygwin then my performance will be normal or i need to suffer a bit regarding the performance 🙄 . i mean if it is required to upgrade the processor accordingly ❓
Of course, the speed of the machine/processor, size of RAM, version of OS – all of them will certainly have an impact on ns2 simulation irrespective of the platform (linux+ns2 / windows+cygwin+ns2). Several years back, while starting my experiments with ns2, I used a Pentium II 233 M.Hz computer with 64 Mb Ram and 2GBHDD(RHL linux 6/7) and was able to run lot of wired and wireless simulation with lot of nodes.
So the speed of a computer will not be a problem most of the times.
For simulating one second of a network scenario, it may take few minuets or few hours for the simulator if the scenario is huge and complex –even with fastest computers. Or it may take less than a second for the simulator, if the scenario is small or we are using a fast computer for the simulation. http://www.projectguideline.com/modules.php?name=Forums&file=viewtopic&t=13
So, according to my belief and previous experience, most of the times, I realized that the simulation time has been mainly depend upon the complexity of the simulation not the computer.
But, a fast computer will always save lot of time. If you are really getting irritated by the speed of your present computer, then do not go for upgrading your processor or increasing the RAM -Just try for getting a latest computer with multi core processor and highest possible RAM – if you can not spend that much, then just learn to optimize your existing computer for better performance.
Most of the times, the speed of a computer will depend up on the knowledge of person who is using it. so you learn to make it work faster for you.
Generally, you can do a minimal install of Cygwin (I mean some selected components of Cygwin) under Windows 7 (or higher). But, installing a fully functional ns2 will not be possible with that Windows 7 install of Cygwin. (there seems some OS architectural limitation which will raise some conflicts)
But, you can install Windows XP under Virtualbox or any other visualization environment under Windows 7 and then install Cygwin and ns2 under that virtual Windows XP installation.
It will run without any problem and of course, after doing some fine tuning (on XP), you may get near native hardware performance under virtual Windows XP.
Even you may install any linux variant on the Virtualbox under Windows 7 and install ns2 on it – it will work even better than previously mentioned WinXP+Cygwin+ns2 install.
You must be logged in to reply to this topic.