General :: Optimize Implementation Of DSR Algo In UBUNTU 9.1 Using NS 2.34 ?
Feb 25, 2010
I need to optimize the implementation of DSR algo using NS-2. Now i need to identify the first of all "the parameters which i can change and which are effective in optimization point of view." I want to get into the c++ code as well as header files which are used to implement DSR algo.
I am using ubuntu desktop edition to run My drupal website on Intranet. I know for running web servers best thing to install is ubuntu server editions, but due to some problem i am using Desktop edition.I installed XAMPP on my machine an my website is up and running. I want to know how can i optimize my machine?? Since I will not use very less features of desktop editions are there any things which I can remove or stop which will free memory and cpu consumption, are there any packages which i should install to increase the performance of my ubuntu??
Subject of my school work:"Web interface for managing firewall and band on the access server (Linux)"I have a big problem because I do not know how to safely implement the change in the system and show the logs on the Web page.Unfortunately, the number of solutions for today is enormous and it is increasingly difficult to me to decide on the right.They are:
1. Launching a web server with root privileges (the default mode of miniserv'a Webmin) 2. CGI scripts on apache SUID (mode webmin on "foreign" server) 3. suPHP or suexec 4. Cron implements changes to the root 5. Daemon in C "periodically" implement changes in the configuration files created by PHP 6. Daemon in C to implement the changes requested in the configuration files created by PHP 7.Use SSH in PHP and after logging into the root of execution of commands in the configuration files created by PHP (the root password in the DB) 8.Use SSH in PHP and after logging into the root of execution of commands in the configuration files created by PHP (the root password, enter manually) 9. Like the above so that the use of sudo and user rights only to the necessary shell commands 10. Add the user apache in the /etc/sudoers can perform all the necessary applications shell commands 11. Seize the opportunity to command: shell_exec ( `sudo php-f / home /example/script.php`), and /etc/sudoers
I am new to this forum and to Networking as well. I have chosen to implement:
1) SIP Client using C' language 2) Platform: Windows 3)Its going to be on command line
my problem is that I need some reference like books, material or website where I can learn how to write the code from scratch or port the code according to my requirements. My implementation should serve the purpose like two SIP clients should communicate with each other for exchange of Audio data.
My network diagram is internet<---->dansguardian proxy(centos5)<--->my network i have blocked facebook for my network but now i want to give only 2 ips to get its access & i do not want to enter these ip in exceptioniplist as if i doo so then they will be able to access all the sites that i have blocked. and if i am giving this entry [URL] in bannedsite list it is also not working.....
IPtables, implementing each type of NAT -Full Cone NAT -Restricted Cone NAT -Port Restricted Cone NAT -Symmetric NAT using IPTables.
Explanation: Full Cone: A full cone NAT is one where all requests from the same internal IP address and port are mapped to the same external IP address and port. Furthermore, any external host can send a packet to the internal host, by sending a packet to the mapped external address.
Restricted Cone: A restricted cone NAT is one where all requests from the same internal IP address and port are mapped to the same external IP address and port. Unlike a full cone NAT, an external host (with IP address X) can send a packet to the internal host only if the internal host had previously sent a packet to IP address X.
Port Restricted Cone: A port restricted cone NAT is like a restricted cone NAT, but the restriction includes port numbers. Specifically, an external host can send a packet, with source IP address X and source port P, to the internal host only if the internal host had previously sent a packet to IP address X and port P.
Symmetric: A symmetric NAT is one where all requests from the same internal IP address and port, to a specific destination IP address and port, are mapped to the same external IP address and port. If the same host sends a packet with the same source address and port, but to a different destination, a different mapping is used. Furthermore, only the external host that receives a packet can send a UDP packet back to the internal host.
On the netfilter mailinglist, Pedro Goncalves suggested the following: 192.168.2.170 is "public" address and 10.0.0.1 is "private" address
/-"Full Cone NAT", with the following rules:/
HTML Code: iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.2.170 iptables -t nat -A PREROUTING -i eth0 -j DNAT --to-destination 10.0.0.1
/-"Port Restricted Cone NAT", with just a single rule:/
HTML Code: iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 192.168.2.170
i didn't know where to post this so i decided on "General" section. I'm working with kind of an "old" computer, low HDD and graphics, but decent amount of RAM and good processor ( for an old computer, and it was bough for company use ) So i want to speed things up a bit, i don't mind waiting a bit longer when GIMP is loading, but FireFox is giving me issues, loads slower, and internet isn't as fast as its suppose to be, i started playing a game on facebook recently and it was fine, but lately it takes for ever to load and do things in it, i tweaked some options in it, and its better, but now when i click response time is slower ( altogether is quicker but still not enough ) Is there anything i can do?
I have the most recent version of Ubuntu, and I'd like to optimize it. I have 888MB RAM and an older celeron processor. Here are the only things I use on a daily basis:
I feel like there is a lot of extra stuff I could remove, but I don't want to just start removing random things that may break dependencies, etc. I want to do this b/c it seems like my desktop is sluggish most of the time.
I snagged the 10.10 alternate install ISO for PPC and got it up and running on a 1ghz G4 eMac with 1gb of RAM and a 60gb HDD. It runs... OK. It could be a lot better. I'm planning to shut off the bluetooth and CUPS services since neither apply to this system; are there any other services I can shut down, or any other tricks I could do to make it run a bit more smoothly?
What about alternate window managers? I realise that the PPC platform kinda limits me, but what about TWM or FVWM?
Unfortunately my ubuntu installation wakes 31 seconds to get to the boot screen, almost identical to my windows 7 partition. I've already configured grub to my needs, so reducing the counter has already been done, but I have no idea what else to do for my boot speeds when it comes to ubuntu. If anything I can live with these times, but it would be very nice to have it boot at lightning speeds I may even buy a SSD when I get the money.
I have a copy of the MD5 algorithm and I'm taking a look at the source. It's pretty interesting but there are a few things that I'm curious about and I was wondering if anyone a bit more intuitive than I could help me out.The function declarations in the MD5 files are a bit unfamiliar to me. There is a macro used called PROTO_LIST, which I'm still not sure as to what this thing is doing exactly, but it's littered everywhere throughout the source.The signature here isn't too unfamiliar to me with the exception of the position of the PROTO_LIST macro. So here is a function with an unnamed argument of type MD5_CTX*.To me, this resembles an initializer list found in C++ with constructors but I certainly don't think that is the case here. So my questions about this are (1) how is this legal code in C and (2) what functionality has the PROTO_LIST macro provided for the function?
I am finally coming around to selling my iMac G3s and eMac. I will reformat the drives in them and put on Puppy Linux for the iMacs and Xubuntu on the eMac. If I can, I will repair OS X on them all and will dual boot if possible. All of this will be done using the Intel iMac via Firewire. I would like to know if there is a way to make these machines any faster (without money) and "safer" so the next owner feels sure they won't be failing on them soon.
My DSL is working and my computer is on line but I would like to optimize my connection for better speed. I found a utility for this at speedguide.net but it was written for Windows.
The PC is AMD Duron, 370 Mb memory, Hd Maxtor 80 Gb, S.O. 10:10 maverick Ubuntu, Linux Kernel 2.6.35-24-generic.
Gnome 2.32.0
Who can I analyze this screen:
Code:
In particular, what are all the mistakes, how much ram maximum support, what kind and where can I find the physical space for the three DIMMs that are missing in the list.
i have done everything that all the documentations have said and i still cant get this bloody thing working. some one give me the exact commands that removes all traces of all wine packages. and then can someone give me the exact commands to install.
which user i must be doing this under and exactly what i must configure in the config files. all that i want too accomplish by this is to successfully play games on my pc.
Recently I was trying to use Gentoo, and I was really impressed of how it is faster than Ubuntu in running applications, specially when I build wine and was able to run Oblivion at a reasonable speed. I would like to know if there is a way to compile Ubuntu from source code, to optimize it to my hardware.
I'm looking for a newbie friendly guide on tuning stuff like TCP and whatnot. I installed a program on my sister's Windows computer called Internet Cyclone and it did all the settings itself, but I can't seem to find such a program for Linux. I kinda want to learn to do it myself too, so can you point me to a newbie friendly guide on how to optimize my Internet connection settings?
I'm in need of some advise from you guys. I'm currently running a live production serverA, and last week it went down for a couple of hours which was really bad to say the least.
I've been thinking about building a mirror serverB that will rsync my data nightly. Now I don't want to load balance here, I just need to be able to switch to serverB when serverA goes down for any reason.
Would the best solution for this is to change my main nameserver entry when I want to switch ? I'm just curious if it will be a few hours or an instant change.
I've implemented a program URL... which reads digital IF data from a radio receiver through a named pipe, measures power levels, and sends the result to stdout. The program is interactive; there is a thread that reads from stdin to watch for commands, a thread that constantly either reads data from the named pipe or throws data away, and an array of processing threads. The program uses GTK+extra to plot the signals. The IF data stream bandwidth exists at the limits of today's technology (is very very fast).
Problem Statement:The program works fine with a few bugs. I've learned since I've made it that using global state variables to coordinate threads isn't a good way of doing it. I also only had knowledge of mutexes and polled the state variable instead of using other methods.My reimplementation will use the following:
- One "Stdin Command Monitoring" thread - One "Get data from named pipe" thread - One post-processor thread - N Processing threads
All threads are alive during the life of main()There are N buffers. Data will come in from the named pipe, and the "Get data" thread will write the data to an "available" buffer. When the buffer is full it will be marked as "full". There will be N processing threads, one for each buffer. When a processing threads' buffer is full, it will process the buffer and save the result to a final buffer. At the end of a number of averages, the post-processor thread will perform a final process on the final buffer and send the results to stdout.