Solved

Does IP Aliasing decrease performance?

Posted on 2006-11-17
7
261 Views
Last Modified: 2010-03-18
I was reading a whitepaper on Web / App server configurations. It stated that the example setup used multiple ports attached to a single IP address, and that this had better performance then IP Aliasing.

Is this true?

My servers are behind a Cisco CSS load balancer, so I could use either IP Aliasing or a single IP address with various web server process on different ports. The server in question has 12 JVM web server processes running.

Thanks!
0
Comment
Question by:p1800volvo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 17967986
What You mean by IP Aliasing?
Surely IP based virtualHosts will act better/faster than NameBasedVirtualHosts - but the impact is negligible.
If You mean that one eth card has binded more that one IP - I belive there is no performance loose at all(confronting to one ip any many ports).
0
 
LVL 1

Author Comment

by:p1800volvo
ID: 17968711
The URL resolves to a CSS. It then sends traffic via round robin to 12 IP addresses. The server has an interface that accepts connections from those 12 IP Addresses. This helps with web server stability by sending traffic to individual JVM Web Server processes. I did not implement the system, just inherited it.

Is this hurting performance vs. a single IP address and using ports that the JVM's would listen in on?

This box accepts up to 700 concurrent connections for an app server behind it.

Thanks!
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 17968763
So You saying he server has eth card with binded 12 ip addresses?
> Is this hurting performance vs. a single IP address and using ports that the JVM's would listen in on?
Depends - if the web server is binded to individual IPs - Yes, linux have to browse list of 12 addresses instead of one.
If the server is bind to ANY(0.0.0.0) address - the browsing is not needed, therefore performance should not decrease.
To verify that: netstat -ltnp
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 57

Expert Comment

by:giltjr
ID: 17969002
So you have 12 JVM processes running each with their own IP address?

What type of box is this running on?

I would say that if you are running 12 JVM's  the least of your overhead problems deal with Linux have mutiple IP addresses to listen on.
0
 
LVL 1

Author Comment

by:p1800volvo
ID: 17981745
Currently, it's a Sun 280, 2 way box with 8 Gigs of RAM, running Solaris 8. CPU is use is low since it is only serving pages given to it by a big 880 box.

We are going to Linux and wanted to set it up for best performance. From what I am reading, that would seem to be to configure the new box using a single IP addy on a single card with the 12 JVM listening to 12 different port numbers.
0
 
LVL 57

Accepted Solution

by:
giltjr earned 50 total points
ID: 17982033
Umm, well really no.  Twelve IP addresses with a single port each is no more or less overhead that one IP address with twelve unique ports.   It is still 12 ports that the box must listen on.

I would question running 12 JVM's for only 700 concurrent connections, or is that 700 concurrent connection per JVM instance?   CPU usages is low, how is memory usage?  Of couse I don't know the application, if it is single threaded, I guess you need 12 JVM's to process 12 requestes.

I would stick with the 12 unique IP addresses, that way if needed you could take some of the JVM's and move to a second box and move their IP addresses with them and there are no application related changes.  You just go from 1 box with 12 addresses and 12 JVM's to two boxes with 6 IP addresses and 6 JVM's.
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 18062427
I thought I give better explanation of when & why it can be performance loose. Whatever...
0

Featured Post

Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question