Slow database access across network

I have a postgresql database setup on a server machine and have written a java program in netbeans that accesses it. The problem i have is that running the jar created by netbeans from any other machine on the network has really slow database access but running the program from netbeans itself is fine. Running the jar on the server machine is also fine.
Anyoner got any idea as to why this could be?
Tom

I don't know if this will help, I'm just wading into writing my own java apps to hit a SQL 2K db. We purchased a SQL2k/JSP driven backend on which we extended their OM to meet our needs. It was build as an extranet product but ran very poorly across the 'Net.
The biggest annoyance was not the actual transaction time of the app but the time it took from the end user to click a button and the start of the transaction.
After much testing I determined it was the JSP.
So what we have done to alieviate the issue is to have multiple regional Tomcats that 'throw' their transactions to a central colocation where the SQL servers sit (so the tomcats do the JSP managment in a sense locally to the end user) . For big clients we actually place a linux/tomcat box at the edge of their firewall. For whatever reason, I'm far too busy to determine the how now that I get the responses I need, this has completely eradicated the annoying pause between user interaction and the actual transaction to the DB server. Extended testing showed the SQL server running in the sub half second range to process a command but the tomcat rendering could take up to 2 to 5 seconds in worst case for no discernable reason. Moving the tomcat frontends to the network segment where the clients we solved it.
Of course I'm digging into swing now too and it has some slowness that the Eclipse zealots say SWT fixes but I haven't the depth or experience to properly judge the camps arguments yet.
hth...

Similar Messages

  • Slow database access in Vista.

    Hi,
    I'm having a little problem with accessing a database here at work, and it started to happen just recently. I'm using Windows Vista and the access to the database is extremely slow, take about 10 seconds just to show all the tables and it takes like 15 minutes to show a table containing about 100 rows.
    The funny part is that is no such problem using Windows XP! I'm using the oracle client 10g Release 2 (10.2) for Microsoft Windows (32-Bit).
    Have anyone experienced something similiar or know the problem to the cause?
    Thanks in advance,
    Joakim Rosendahl.

    Hi,
    I have the same issue on my Vista Notebook. (with Oracle Instant Client for Vista)
    as a short sql, select ool.line_id, ol.* from oe_order_lines_all ool where ool.line_id = 123456;
    (1) This got hung while I connected an DB(port=1521), while I have another Cloned DB(port=1541) runs normally.
    (2) when I comment out the "ol.*", it runs normally.
    (these above two looks kinky with Toad 9)
    (3)Same SQL runs well via SQL Plus, even with ol.*.
    (4) Same SQL runs well in my XP machine, so I guess it should be the problem on my Vista notebook.
    So, Madrid, since you mentioned the "Bottleneck", I am pretting interested in how I can check in my OS Leve ??? It will be greatly appreciated that you could give me any advise.
    Or, if I got wrong area to discuss this issue, please correct me, then.
    Thanks,
    Jay

  • G5 freezes when trying to access across network

    While trying to access my G5 from across a network from a MacBook Pro, the G5 immediately freezes upon clicking on it under the shared tab. I've been working this way for quite some time and this seems to be a new issue. Several hard drives are hooked up to the G5, so if I am working on the laptop I won't be able to access them because the computer freezes, the only way to reboot it is to hold the power button and wait for it to restart. Any idea why this is?

    Hi John, and a warm welcome to the forums!
    At this point I think you should get Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 5 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Disconnect the USB cable from any UPS so the system doesn't shut down in the middle of the process.

  • Slow DataBase Access using JDK 1.5 and MySQL

    Hi EveryBody,
    I am using Jdk1.5 in my project and mysql 5.0 as my database server.
    The problem is that, to create a connection for the first time it takes upto 20 to 25 seconds.
    when i use the 1.4.2 with the same mysql version it takes only 2 seconds.
    In both the cases i am using the JDBC driver (com.mysql.jdbc.Driver )
    I cannot understand the problem with the jdk1.5,
    so, please help me in resoving this issue.

    I encountered same problem with connecting Oralce.
    It's a bug of JDK1.5.
    You need upgrade JDK1.5 to latest version,or use IP address instead of machine name(such as locahost etc.).
    Message was edited by:
    LucasLee

  • Slow access on Network-folders

    Hello forum,
    I have a big problem with the speed of Indesign Server, when i try to access a Network path.
    The Server is running and gets a script via SOAP and everything is working well, except the speed. Within the script i open a document, which is placed in a network folder :
    (Command: doc = app.open("\\\\server-ip\\path\\file.indt");
    This process lasts almost 10 seconds, and after that, everthing runs fast.
    When i place the file on the local machine, the script runs in less then a second.
    It is only slow at the first time i access the network path (within the one script), i.e. when i place a file from the network with 'doc.place()' after the opening, it is fast.
    I use Windows Server 2003 32bit, Indesign Server CS3,
    and the files are on a SuseLinux 10.1 with Samba.
    help would be welcome
    greets
    Michael Rupp

    Network assets are discouraged. I'd suggest you to copy the files into a local directory before using them inside your script.

  • OAS is slow when accessing on same machine

    I have OAS 4.0.8.1 installed on an NT machine (4.0 sp6) on our network. When it serves pages to a browser on the same machine the response time is very slow (5-6 seconds).
    The pages that I'm accessing are fine. When using a browser on another machine on the network the response is less than one second.
    Memory doesn't seem to be the problem (256MB).
    I've also tried modifying the Hosts file in \\winnt\system32\drivers\etc, with seemingly no affect.
    The database accessed by OAS is 8.1.5 on another NT.
    Any ideas?
    Thanks,
    Eric

    Thought I would reply to my own post in case someone wants to know the answer.
    We ended up solving the problem by upgrading to OAS 4.0.8.2. Oracle agreed that this was a bug in 4.0.8.1 and would have a patch available (sorry - don't have the number). Regardless, we found that upgrading was easier.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Eric Christian ([email protected]):
    I have OAS 4.0.8.1 installed on an NT machine (4.0 sp6) on our network. When it serves pages to a browser on the same machine the response time is very slow (5-6 seconds).
    The pages that I'm accessing are fine. When using a browser on another machine on the network the response is less than one second.
    Memory doesn't seem to be the problem (256MB).
    I've also tried modifying the Hosts file in \\winnt\system32\drivers\etc, with seemingly no affect.
    The database accessed by OAS is 8.1.5 on another NT.
    Any ideas?
    Thanks,
    Eric<HR></BLOCKQUOTE>
    null

  • Lightroom Library Accessible across network?

    Is there a way to have the library and all edits, etc. available to multiple users on a network? I work with four other photographers and a couple of art directors who all have access to a single server loaded up with tetrabytes of images sorted by assignments in respective folders. We've been using ACR and Bridge to view, assign metadata, and edit, duplicating RAW files for multiple processing interpretations, etc. I'm interested in seeing if Lightroom will help with our workflow, but a centralized library is absolutely necessary to start. Thanks for any help.

    >As I understand it, the library itself won't be accessible on the network in v1.
    johnbeardy, "Lightroom Library Accessible across network?" #1, 31 Jan 2007 7:24 am
    That's what I heard as well. It's a shame as with the advent of cheap NAS storage, it is very common for photographers to have all their data on the network and only the applications on the computer.
    I don't have a need for multiple users of the same library, but I do need to keep the library on NAS storage. That should be a simple fix for Adobe to implement. It's also an important fix as there have been several instances of people on the labs forums finding that they could not install Lightroom as they had redirected their "My Documents" directory (on Windows) onto a network mount.
    Full multi-user support is more complex and probably does require a database transplant to something with a more advanced locking concept than SQLite.

  • Mac Mini Slow playing DVD from Network

    Hi,
    I was just wondering is anyone else has experienced slow dvd play with their mac mini's.
    Playing from the SuperDrive (dvd player) or Firewire DVD player is NOT a problem. however I have a couple of backed up DVD on a LACIE network drive using CIFS or AFP(Gigabit although my mini is 100FD) and on a Linux server (NFS mount)and the DVD's will not play smoothly.
    They are very choppy and unwatchable. I have also tried using VLC but that is even worse.
    I 1gb Ram in my mini, I also had this problem under os X 10.4 as well as 10.5. I know that apple say that an intel processor 1.6 is needed for interlacing, but just playing should be fine.
    My Suse Linux IBM T42 which is old has no problems playing the movies, but I want to play them on a 23inch Monitor. (the problem also occurs on my 19inch Monitor)
    CPU wise. it never gets to 100% but when it goes over 70% the problem seems to occur.
    I have tried to shut down all possible applications and disabled spotlight. this improved the playing experience a little.
    Any thoughts on this would be great.
    Thanks
    Pete

    HI,
    The local disk is about 40% full, I upgraded it to a 160GB drive. (plus leopard was therefore a complete fresh install on a new drive)
    If I play the files from the local drive then there is no problem. I also noticed that if I use a local USB to play the movies then this works. But when you only have 2 x usb ports on a mac mini, and the fact I don't want my mini to have control over the disks (so the mini can be turned off etc) as my house mate also has a mac and would like to stream music and I like to have access from my Linux Laptop.
    I also noticed that the Mac Mini was very slow at accessing my NFS mount.
    I have also done the normal network tests such as forcing Full Duplex 100mb or allowing Auto etc. (also my house mate has the same problem using Mac book pro with a wireless connection) The switch is not busy at all, and until two days ago the only two devices turned on were the Mac mini and the lacie drive
    It is very frustrating, I want to upgrade to an iMac next month, but would have like to keep the mini as a media player. I like front row and dvd player they rock as applications. (except for the current issues I am having)
    My switch is definitely up to the task. I got a netgear. When my laptop and server (old P4 PC running Linux) are plugged in they are fine with streaming and copying files.
    I do notice that the Samba protocol on apple seems quite an 'expensive' over head with resources, but it still seems to work better than AFP. (from my Lacie drive)
    I have a suspicion that the problem is a mixture of DVDplayer that was not designed to play dvd's from the network and maybe the protocol stack on OS X? I guess the next stage is to sniff the network and see if packets are getting dropped.
    Thanks for any pointers so far.
    Pete

  • BIB-16613 Database access error occurred while connecting to the OLAP insta

    I am trying to connect to the database using the BI Beans sample bootstrap.jpr
    I am getting the BIB-16613 error.
    oracle.dss.security.BISecurityException: BIB-16613 Database access error occurred while connecting to the OLAP instance.
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    The bi_checkconfig utility gives me:
    C:\utils\JDev903\bibeans\bin>bi_checkconfig -h pavelr -po 1521 -sid LOCAL -u BIBDEMO -p BIBDEMO
    BI Beans Diagnostics(v1.0.0.0) 17/03/03
    ===============================================================================
    JDEV_ORACLE_HOME ............................. = C:\utils\JDev903
    JAVA_HOME .................................... = C:\OraHome1\jdk
    JDeveloper version ........................... = 9.0.3.1035 (Production)
    BI Beans version ............................. = 9.0.3.4.0
    BI Beans internal version .................... = 2.7.0.11.3
    Connect to database .......................... = Successful
    JDBC driver version .......................... = 9.2.0.1.0
    JDBC JAR file location ....................... = C:\utils\JDev903\jdbc\lib
    Database version ............................. = 9.2.0.2.1
    OLAP Catalog version ......................... = N/A
    OLAP AW Engine version ....................... = N/A
    OLAP API Server version ...................... = N/A
    BI Beans Catalog version ..................... = N/A; not installed in BIBDEMO
    OLAP API JAR file version .................... = 9.2
    OLAP API JAR file location ................... = C:\utils\JDev903\jdev\lib\ext
    Load OLAP API metadata ....................... = Successful
    Number of metadata folders ................... = 3
    Number of metadata measures .................. = 26
    Number of metadata dimensions ................ = 22
    Metadata output location ..................... = C:\utils\JDev903\bibeans\bin\bi_metadata.txt
    I can connect to OLAP BIBDEMO (and SH) schema using OEM.
    I can connect to BIBDEMO from JDev Connections (Catalog connection to BIBCAT, OLAP connection to BIBDEMO).
    How can I establish the connection from the bootstrap sample?
    Pavel

    Please try follow the steps under "Installing and Configuring the Samples "http://otn.oracle.com/products/bib/htdocs/samples/installing_samples.html - the section titled "Update the samples project settings".

  • Database Access delays-how to improve upon that?

    Hi friends,
    I have this simple class,which takes in query and returns the results.I don't know why the database access is so slow,and if i try to add my driver load statements into the constructor the java class starts throwing "null pointer exception"(Java Class code given below)..I don't know much about connection pool,can u just have a look at this simple class,and tell me if there's anything on which i can improve upon and where to add the(*.close() statements).The same query runs instantly if i make a php program.Urgent help needed...please help me guys.
    public class getResultSet{  private Connection con = null;  private Statement st = null;  private String dsn = "jdbc    b2j:net:xxx";  private String uname = "xxx";  private String pwd = "xxx";  private String query = "";  ResultSet results;   public void ResultS()throws Exception{      try{          Class.forName("com.ibm.db2.jcc.DB2Driver");          con = DriverManager.getConnection(dsn, uname, pwd);          st = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,                                   ResultSet.CONCUR_READ_ONLY);         }      catch (SQLException e) {          e.printStackTrace();          }     }     public ResultSet getResults(String query){            results = null;            try{               results = st.executeQuery(query);               }               catch(SQLException sqle){                 sqle.printStackTrace();               }            return results;     }   }

    Some comments on the code
    public class getResultSet{ // Class names should start with a capital letter and be nouns
    private Connection con = null;
    private Statement st = null; // Statements are transient and should probably not be a member variable
    private String dsn = "jdbc    b2j:net:xxx";  // dsn, user, pass should be final
    private String uname = "xxx"; 
    private String pwd = "xxx"; 
    private String query = "";  // Seems you're not using this
    ResultSet results;   // This really shouldn't be declared here
    public void ResultS()throws Exception{ // Method should start with a lower-case letter and be a verb/* The client code is supposed to call this, then the other method?
    Very fragile. I'm guessing NullPointerExceptions occur if ResultS
    is not called first. Have the other method call this one as necessary.
    try{        
    Class.forName("com.ibm.db2.jcc.DB2Driver");
    con = DriverManager.getConnection(dsn, uname,
    uname, pwd);
    st =
    st =
    =
    con.createStatementResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    ultSet.CONCUR_READ_ONLY);
    catch (SQLException e) {  
    e.printStackTrace();
    public ResultSet getResults(String query){      
    results = null;
    try{          
    results = st.executeQuery(query);
    catch(SQLException sqle){   
    sqle.printStackTrace();
    return results; // It's a bad idea to return ResultSets as that leaves resources open
    } // Where's the cleanup? You're leaving ResultSet, Statement, Connection open
    >It is probably slow because opening connections takes a long time. You may or may not need a connection pool depending on your app. Perhaps you can just open a connection at the beginning and leave it open until your app finishes. That should reduce the overhead and still be very simple.

  • Database access... what is the best approach

    in a nutshell...
    i have an applet that needs to access three data bases... currently i have it written and completed and working but the lag time on the database access is really slow so i am questioning my approach to the problem...
    as a buisness rule we wanted to create classes to access the data through accessor mehtods from applications and appletts therfore standardizing our field name conventions, our methods and so on and so on...
    so when the applett runs it creates an object for each class that access the database... when the user enters a valid "parcel number" the parcel is passed to the first class and the record is retrieved for database "A" and then it is passed to the next class and the supporting records are retrieved for data base "B" and it repeats the same concept for database "C".. so now i have the applet running and accessing the data through accessor methods through those objects...
    each class makes the conection to the data base.. issues the sql, stores the results and closes the connection
    i'll admit i am somewhat new to the java envirnoment so any help on concepts and approach would be most appreciated and useful
    does this approach seem reasonable or am i letting my 15 years of procedural thinking get the best of me...
    what would be the most effiecent way of doing this?
    how much of a performance gain would i see if i threaded each one out on it's own thread and how would i do that?
    the end product is going to be a county taxation system using browser technology as an inquiry system for public and general use and an application environment for inhouse data entry and use
    creating seperate classes for each of the data basses seems ideal for what we want to do but maybe it is counterproductive considering the lag times.
    i am using JDBC against an HP3000 image DataBase

    With the information given that is the only possible approach.
    You could provide a middle layer which would then handle some of the interactions for you. For instance by keeping a connection pool.
    Additionally if your databases are not actually distributed (and the same vendor) then you could do most of the work in a stored procedure. You could also do this if some of the data is relatively static and by using a server side replication process.

  • Jsp database access using odbc - please help

    Hi friends,
    I�m trying a very simple database access program in jsp data base access using odbc. Odbc has to be used because thin driver or other drivers may not be available in every system of our college and as you know it's not that easy to make changes to those systems. My problem is so simple. I always get an exception in my program.
    My jsp content is as simple as:
    <%@ page import="java.lang.*,java.sql.*,java.io.*,registerbean" %>
    <jsp:useBean id="db" class="registerbean" scope="session"/>
    <%
    String str="insert into reg values('" + db.getName() + "','" + db.getUname() + "','" + db.getPass() + "'," + db.getAge() + ",'" + db.getSex() + "','" + db.getAdd() + "','" + db.getUgcourse() + "','" + db.getUgqual() + "'," + db.getPer() + ",'" + db.getIadd() + "')";
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:yogaesh","scott","tiger");
    Statement stmt=con.createStatement();
    stmt.executeUpdate(str);
    }catch(Exception e1){out.println(str);};
    %>
    the table reg has the structure:
    Name Null? Type
    CNAME VARCHAR2(20)
    UNAME VARCHAR2(20)
    CPSWD VARCHAR2(20)
    CONFPASS VARCHAR2(20)
    CAGE NUMBER
    CSEX VARCHAR2(5)
    CADD VARCHAR2(100)
    COURSE NUMBER
    CQUAL VARCHAR2(10)
    CPER NUMBER
    IADD VARCHAR2(100)
    The registerbean.java file is as below: (This seems to work fine because I tried printing the values using <%= %> tag and it worked out fine and moreover the query string is intact.)
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class registerbean
    private String name,uname,pass,cpass,age,sex,add,ugcourse,ugqual,per,iadd,otherugqual,ccode;
    public void setName(String a)
    name=a;
    public void setUname(String a)
    uname=a;
    public void setPass(String a)
    pass=a;
    public void setCpass(String a)
    cpass=a;
    public void setAge(String a)
    age=a;
    public void setSex(String a)
    sex=a;
    public void setAdd(String a)
    add=a;
    public void setOtherugqual(String a)
    otherugqual=a;
    public void setCcode(String a)
    ccode=a;
    public void setUgcourse(String a)
    ugcourse=a;
    public void setUgqual(String a)
    ugqual=a;
    public void setPer(String a)
    per=a;
    public void setIadd(String a)
    iadd=a;
    public String getName()
    return(name);
    public String getUname()
    return(uname);
    public String getPass()
    return(pass);
    public String getCpass()
    return(cpass);
    public String getAge()
    return(age);
    public String getCcode()
    return(ccode);
    public String getSex()
    return(sex);
    public String getAdd()
    return(add);
    public String getUgcourse()
    return(ugcourse);
    public String getUgqual()
    return(ugqual);
    public String getPer()
    return(per);
    public String getIadd()
    return(iadd);
    public String getOtherugqual()
    return(otherugqual);
    I initially thought the problem was with str but then str seems to be perfect and I get a string of the form �insert into reg values('c','c','c',98,'Male','c','B.Tech, Applied Artificial Neural Networks','HSC',9898,'h')� which I verified through a javascript debugger. The session scope used is to get values through the db bean from another jsp file. The problem is in the executeUpdate() line of this code. I even tried changing the updation table, but in vain. What could be done to rectify this? Please help me out and please do remember that I have no option but to use odbc.
    Thanks in advance.
    R. Yogaesh.

    I didn't verify the type of exception and i'm now going to do that, but then when the string is as perfect as needed, what is the need for a prepared statement? What is the basic difference between the two? And basically what is the problem with this piece of code which creates an exception? Please reply as soon as possible.
    Thankyou very much.
    R. Yogaesh.

  • Remote database access via JDBC?

    Hello,
    Can anyone give me info on accessing remote databases (i.e. Microsoft
    Access, etc) from Java programs (Servlets, JSP's, Classes) residing on the
    iSeries (AS400) or perhaps any platform?
    I currently have a couple of web applications set up on the Websphere App server that access DB2/400 database and I also have some Java Classes on PC's that access MS Access datafiles. I would like to begin writing the majority of my applications that run on the iSeries (or host system) that can remotely access other databases on our network.
    Any info would be of great help to me.
    Thank you
    Don

    I don't know of any existing Access JDBC drivers that support remote access, after all, the Access database itself is not remote access capable except via file sharing. One possibility is to look for a Type 3 JDBC driver that supports reuse of other Type 1 (ODBC bridge), Type 2 (Java/Native Mix) and Type 4 (pure Java)JDBC drivers on the server side.
    If you were using WebLogic Server, I suppose you could use its remote JDBC facilities, but that won't help you.
    One problem you will have to face is that Access JDBC drivers are not (if I recall) meant to be used in a multithreaded fashion. Good luck. By the way, it might be far simpler to port the Access database to DB2/400.
    Chuck

  • Question about Database Access

    Hello,
    I have one question regarding database access from Java.
    What are the other ways of connecting to database other than JDBC? This was one of the question I been asked by the interviewer. He says JDBC connection can slow down the perfomance when it comes large number of transactions?
    Any insight or help will be very useful.
    Thanks

    He may have been referring to available "persistance managers" like Hibernate or the mechanisms build into EJB containers. However, as far as I know, they all use JDBC, and any speed-up is due to caching of data as objects.

  • Very very slow file access iSCSI NSS on SLES11/XEN/OES11

    Hi,
    Like many Novell customers while carrying out a hardware refresh we are moving off traditional Netware 6.5 to OES11 and at the same time virtualising our environment.
    We have new Dell Poweredge 620 serves attached by 10gig iSCSI to Equalogic SAN
    Installed SLES will all patches and updates and XEN and then created OES11 SP2 virtual machines, these connect to NSS volume by iSCSI
    Migrated files from traditional netware server to new hardware and stated testing and ran into very very slow files access times
    A 3.5mb pdf file takes close to 10 minutes to open from local PC with Novell Client installed, same if no client and open via cifs. Opening same file off traditional NW6.5 server takes 3-4 seconds.
    We have had a case open with Novell for almost 2 months but they are unable to resolve.
    To test other options we installed VMWare ESXi on the internal usb flash drive and booted off that, created same OES11 VM and connected to NSS on SAN and same pdf open in seconds.
    The current stack of SLES11/XEN/OES11 is not able to be put into production
    Any ideas where the bottleneck might be? We think is in XEN.
    Thanks

    Originally Posted by idgandrewg
    Waiting for support to tell me what the implications are of this finding and best way to fix
    Hi,
    As also mentioned in the SUSE forums, there is the option of using the Equallogic Hit Kit. One of the tools, next to the great autoconfigure options it has, is the eqltune tool.
    Some of the stuff that I've found important:
    -gro is known read performance killer. Switch if off on the iSCSI interfaces.
    - if possible (meaning you have decent hardware), disable flowcontrol as this generally offers stability but at the cost of performance. If your hardware is decent, this form of traffic control should not be needed.
    -To have multipath work correctly over iSCSI and starting SLES 11 SP1. Make sure kernel routing and arp handling are set correctly (not directly relevant if you only have 1 10 GB link):
    net.ipv4.conf.[iSCSI interfaceX name].arp_ignore = 1
    net.ipv4.conf.[iSCSI interfaceX name].arp_announce = 2
    net.ipv4.conf.[iSCSI interfaceX name].rp_filter = 2
    Test if traffic is actively routed over both iSCSI interfaces:
    ping -I [iSCSI interfaceX name] [iSCSI Group IP EQL]
    -Make sure network buffers etc are adequately set as recommended by Dell (set in /etc/sysctl.conf):
    #NetEyes Increase network buffer sizes for iSCSI
    net.core.rmem_max = 16777216
    net.core.wmem_max = 16777216
    net.ipv4.tcp_rmem = 8192 87380 16777216
    net.ipv4.tcp_wmem = 4096 65536 16777216
    net.core.wmem_default = 262144
    net.core.rmem_default = 262144
    -Settings for the /etc/iscsi/iscsid.conf I'm using:
    node.startup = automatic # <--- review and set according to environment
    node.session.timeo.replacement_timeout = 60
    node.conn[0].timeo.login_timeout = 15
    node.conn[0].timeo.logout_timeout = 15
    node.conn[0].timeo.noop_out_interval = 5
    node.conn[0].timeo.noop_out_timeout = 5
    node.session.err_timeo.abort_timeout = 15
    node.session.err_timeo.lu_reset_timeout = 20 #Default is 30
    node.session.err_timeo.tgt_reset_timeout=20 #Default is 30
    node.session.initial_login_retry_max = 12 # Default is 4
    node.session.cmds_max = 1024 #< --- Default is 128
    node.session.queue_depth = 128 #< --- Default is 32
    node.session.iscsi.InitialR2T = No
    node.session.iscsi.ImmediateData = Yes
    node.session.iscsi.FirstBurstLength = 262144
    node.session.iscsi.MaxBurstLength = 16776192
    node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072 #A lower value improves latency at the cost of higher IO throughput
    discovery.sendtargets.iscsi.MaxRecvDataSegmentLeng th = 32768
    node.session.iscsi.FastAbort = No # < --- default is Yes
    -Have Jumbo frames configured on the iSCSI interfaces & iSCSI switch.
    If you are using multipathd instead of the dm-switch provided with the Equallogic Hit kit, make sure the /etc/multipath.conf holds the optimal settings for the Equallogic arrays.
    Ever since Xen with SLES 11 SP1 we have been seeing strong performing virtual servers. We still use 1GB connections (two 1GB connections for each server, serving upto 180~190Mb/s).
    There could be a difference with the 10GB setup, where multipath is not really needed or used (depending on the scale of your setup). One important thing is that the iSCSI switches are doing their thing correctly. But seeing you've already found better results tuning network parameters on the Xen host, seems to indicate that's ok.
    Cheers,
    Willem

Maybe you are looking for

  • List of Structures in PCL1, PCL2, etc.??

    Hello experts, I have a tall order to fill... Is there a complete list of all the structures in these tables (PCL1 - PCL4)  ? There is a list of structures in Package PCAL (in transaction SE80 - ABAP Workbench). This is NOT what I want.  This just li

  • Does In-Browser Editing now allow adding/changing links to images and text?

    There are images that link up to pages within the site and to external sites. When a client wants to change the image it needs to link to a new page. Is there a way they can now do that with in-browser editing?

  • What is an axt file?

    I used the "how to change a color" process.  I changed a blue sky to black.  I was happy with the result, so I saved the file and it came up with an .axt file.  But now when I try to open the file my computer comes up with "not the right kind of docu

  • Documents has been posted with out line item

    Hi, Actully my user created GL Account with out line item he posted transactions into documents Now we are not able to see the documents T-CODE:FS10N GL Account Company code Fiscal year when ever click on amount not able to see the documents. Please

  • Resource Central not working in Audition

    I'm using Audition CS5.5 on a Windows 7 machine and I'm having trouble with downloading certain sound effects from the Resource Central panel.  I can play a preview for every file, however I get an error message when I try to download..."We're sorry,