Solved

Does IP Aliasing decrease performance?

Posted on 2006-11-17
7
232 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
  • 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

930 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now