Extremely Poor Read Performance

Hey guys,
For a work project, I have been instructed to use a Berkeley DB as our data storage mechanism. Admittedly, I know little about BDB, but I've been learning more in the past day as I am reading up on it. I'm hoping, though, that even if no one can help me with the problem I am having, they can at least tell me if what I am seeing is typical/expected, or definitely wrong.
Here's what I got:
- Parent table A - Has 0 or 1 key for table B, and 0 or 1 key for table C
- Table B
- Table C
For purpose of discussion, let's ignore table C as it is logically the same as Table B.
Table B has 25 million rows, keyed by a 34-36 digit string, and a payload of 500-1000 bytes.
Table A has 26 million rows, 25 million of which reference the 25 million rows in Table B.
My question is not on the merits of why the data is structured the way it is, but rather about the performance I am seeing, so please refrain from questions such as "why is your data structured that way - can you structure it another way?" I know I can do that - again I just want to know what other people are experiencing for performance.
Anyway, what's happening is this - my program runs a cursor on Table A to get all records. As it gets each record in Table A, it retrieves the referenced records in Table B. So, the cursor on table A represents sequential key access. The subsequent retrievals from Table B represent "random" retrievals - i.e. the key may be anywhere in the index, and is not at all related to the previous retrieval.
Cruising the cursor on Table A, I am seeing performance of about 100,000 records per 2 seconds. However, when I add in the retrievals from Table B, performance stoops all the way down to 100,000 records per 1000 seconds, or better put 100 per second. At this rate, it will take nearly 70 hours to traverse my entire data set.
My question is, am I simply running into a fundamental hardware issue in that I am doing random retrievals from Table B, and I cannot expect to see better performance than 100 retrievals per second due to all of the disk reads? Being that the DB is 20 GB in size, I cannot cache the entire table in memory, so does that mean that reading the data in this fashion is simply not feasible?
If it isn't feasible, does anyone have a suggestion on a different way to read the data, without changing the table relationship as it currently stands? Considering Table B has a reverse reference to table A, I've considered putting a secondary index on table B so that instead of doing random seeks into table B, I can run a cursor on the secondary index of table B at the same time I run the cursor on table A. Then, for each record in table A that has a reference to table B, the first record in the cursor for table B should be the one I need. However, reading about secondary indexes, it looks like all a secondary index does is give a reference to the key to the table. Thus, my concern is that running a cursor on the secondary index of table B will really be no different than randomly selecting the records from table B, as it will be doing just that in the background anyway. Am I understanding this correctly, or would a secondary index really help in my case?
Thank you for your time.
-Brett

Hi Brett,
Is the sorting order the same between the two databases, A and B, that is, are the keys ordered in the same way? For example, to key N in database A, key N in database B is referred.
I would guess not, because you mention the "randomness" in retrieving from B when doing the cursor sequential traversal of A, and the 34-36 digit keys in B are probably randomly generated.
With B as a secondary database, associated to A as the primary database, it would make sense having a cursor on secondary database B to iterate, if you expect that the same ordering of keys in A (as mentioned in the beginning of this post). For example, you would use DBcursor->get to iterate in the secondary database B, or DBcursor->pget if you also want to retrieve the key from the primary database A: DBcursor->get(), DBcursor->pget()
Basically secondary indexes allow for accessing records in a database (primary db) based on a different piece of information other than the primary key:
Secondary indexes
So, when you iterate with a cursor in B you would retrieve the data from A (and in addition the key from A) in the order given by the keys (secondary keys) in B.
However, a secondary database does not seem to me feasible in your case. You seem to have about 1 mil records in primary db A for which you would not have to generate a secondary key, so you would have to return DB_DONOTINDEX from the secondary callback: DB->associate()
(it may be difficult to account exactly for the records in A for which you do not want to generate secondary keys)
Also, the secondary key, the 34-36 digit string, would have to somehow be derived from the primary key and data in A.
If the ordering is not similar (in the sense explained at the beginning of the post) between A and B, then having the secondary index does not too much value, other than simplifying retrieval from A in queries where the query criteria involves the 34-36 digit string.
Back to your current way of structuring data, there are some suggestion that could improve retrieval times:
- try using the latest Berkeley DB release, 5.1.19: Berkeley DB Release History
- try configuring a page size for the databases A and B equal to that of the filesystem's block size: Selecting a page size
- try to avoid the creation of overflow items and pages by properly sizing the page size -- you can inspect database statistics using db_stat -d: db_stat
- try increasing the cache size to a larger value: Selecting a cache size
- if there's a single process accessing the environment, try to back the environment shared region files in per-process private memory (using DB_PRIVATE flag in the DB_ENV->open() call);
- try performing read operations outside of transactions, that is, do not use transactional cursors.
For reference, review these sections in the Berkeley DB Reference Guide:
Access method tuning
Transaction tuning
Regards,
Andrei

Similar Messages

  • Extremely poor load performance into RDF store

    We are seeing unacceptably poor performance loading our RDF models. We have triedloading with Jena adaptor as well as loading using the BatchLoader class. Either way, the absolute best rate we have seen is about 20000/minute. Here are the specs:
    Loading a triples file from disk which contains 5.08 million triples
    Oracle 11gr2 running on Enterprise Linux64 with 16 GB RAM
    Oracle 11gr2 running on Solaris 10 with all the latest patches and packages...64 bit with 8GB RAM
    Sun is a bit slower than linux, but both are quite poor. I can load the identical triples file into Allegro running on my desktop PC and consistently get load rates of 1 million per minute.
    Can anyone suggest what could be causing this performance issue? Oracle is a very recent install on both the sun and linux boxes, and there is nothing whatsoever running on either one other than oracle, and I am the only oracle user. All install and parameter settings are oracle default.

    An update on the stats. I changed the way models are created, doing it manually from sqlplus first (vs letting the Jena stuff create the model on the fly), and that made things run about 3 times faster, but I still am not seeing anything better than triple load times of 79K/minute.
    Here is the java that runs the load:
    String model = "GMI";
    oracleGraph = oracleTools.makeGraph(model);
    oracleModel = new ModelOracleSem(oracleGraph);
    InputStream is = FileManager.get().open(props.getProperty(model +".NTRIPLES_IND_FILE"));
    StopWatch timer = new StopWatch();
    timer.start();
    // read file contents into oracleModel
    oracleModel.read(is, "", "N-TRIPLE");
    timer.stop();
    is.close();
    System.out.println("\nLoad time into Oracle: " +timer.getElapsedTimeSecs());
    Here is most of the show parameters output:
    O7_DICTIONARY_ACCESSIBILITY boolean FALSE
    active_instance_count integer
    aq_tm_processes integer 0
    archive_lag_target integer 0
    asm_diskgroups string
    asm_diskstring string
    asm_power_limit integer 1
    asm_preferred_read_failure_groups string
    audit_file_dest string /opt/oracle/
    p
    audit_sys_operations boolean FALSE
    audit_syslog_level string
    audit_trail string DB
    background_core_dump string partial
    background_dump_dest string /opt/oracle/
    /jtvOrcl/tra
    backup_tape_io_slaves boolean FALSE
    bitmap_merge_area_size integer 1048576
    blank_trimming boolean FALSE
    buffer_pool_keep string
    buffer_pool_recycle string
    cell_offload_compaction string ADAPTIVE
    cell_offload_decryption boolean TRUE
    cell_offload_parameters string
    cell_offload_plan_display string AUTO
    cell_offload_processing boolean TRUE
    cell_partition_large_extents string DEFAULT
    circuits integer
    client_result_cache_lag big integer 3000
    client_result_cache_size big integer 0
    cluster_database boolean FALSE
    cluster_database_instances integer 1
    cluster_interconnects string
    commit_logging string
    commit_point_strength integer 1
    commit_wait string
    commit_write string
    compatible string 11.2.0.0.0
    control_file_record_keep_time integer 7
    control_files string /opt/oracle/
    ntrol01.ctl,
    ta/jtvOrcl/c
    control_management_pack_access string DIAGNOSTIC+T
    core_dump_dest string /opt/oracle/
    /jtvOrcl/cdu
    cpu_count integer 4
    create_bitmap_area_size integer 8388608
    create_stored_outlines string
    cursor_sharing string EXACT
    cursor_space_for_time boolean FALSE
    db_16k_cache_size big integer 0
    db_2k_cache_size big integer 0
    db_32k_cache_size big integer 0
    db_4k_cache_size big integer 0
    db_8k_cache_size big integer 0
    db_block_buffers integer 0
    db_block_checking string FALSE
    db_block_checksum string TYPICAL
    db_block_size integer 8192
    db_cache_advice string ON
    db_cache_size big integer 0
    db_create_file_dest string
    db_create_online_log_dest_1 string
    db_create_online_log_dest_2 string
    db_create_online_log_dest_3 string
    db_create_online_log_dest_4 string
    db_create_online_log_dest_5 string
    db_domain string domain
    db_file_multiblock_read_count integer 75
    db_file_name_convert string
    db_files integer 200
    db_flash_cache_file string
    db_flash_cache_size big integer 0
    db_flashback_retention_target integer 1440
    db_keep_cache_size big integer 0
    db_lost_write_protect string NONE
    db_name string jtvOrcl
    db_recovery_file_dest string
    db_recovery_file_dest_size big integer 0
    db_recycle_cache_size big integer 0
    db_securefile string PERMITTED
    db_ultra_safe string OFF
    db_unique_name string jtvOrcl
    db_writer_processes integer 1
    dbwr_io_slaves integer 0
    ddl_lock_timeout integer 0
    deferred_segment_creation boolean TRUE
    dg_broker_config_file1 string /opt/oracle/
    1/dbs/dr1jtv
    dg_broker_config_file2 string /opt/oracle/
    1/dbs/dr2jtv
    dg_broker_start boolean FALSE
    diagnostic_dest string /opt/oracle
    disk_asynch_io boolean TRUE
    dispatchers string (PROTOCOL=TC
    lXDB)
    distributed_lock_timeout integer 60
    dml_locks integer 1088
    dst_upgrade_insert_conv boolean TRUE
    enable_ddl_logging boolean FALSE
    event string
    fal_client string
    fal_server string
    fast_start_io_target integer 0
    fast_start_mttr_target integer 0
    fast_start_parallel_rollback string LOW
    file_mapping boolean FALSE
    fileio_network_adapters string
    filesystemio_options string none
    fixed_date string
    gcs_server_processes integer 0
    global_context_pool_size string
    global_names boolean FALSE
    global_txn_processes integer 1
    hash_area_size integer 131072
    hi_shared_memory_address integer 0
    hs_autoregister boolean TRUE
    ifile file
    instance_groups string
    instance_name string jtvOrcl
    instance_number integer 0
    instance_type string RDBMS
    java_jit_enabled boolean TRUE
    java_max_sessionspace_size integer 0
    java_pool_size big integer 0
    java_soft_sessionspace_limit integer 0
    job_queue_processes integer 1000
    large_pool_size big integer 0
    ldap_directory_access string NONE
    ldap_directory_sysauth string no
    license_max_sessions integer 0
    license_max_users integer 0
    license_sessions_warning integer 0
    listener_networks string
    local_listener string
    lock_name_space string
    lock_sga boolean FALSE
    log_archive_config string
    max_dispatchers integer
    max_dump_file_size string unlimited
    max_enabled_roles integer 150
    max_shared_servers integer
    memory_max_target big integer 0
    memory_target big integer 0
    nls_calendar string
    nls_comp string BINARY
    nls_currency string
    nls_date_format string
    nls_date_language string
    nls_dual_currency string
    nls_iso_currency string
    nls_language string AMERICAN
    nls_length_semantics string BYTE
    nls_nchar_conv_excp string FALSE
    nls_numeric_characters string
    nls_sort string
    nls_territory string AMERICA
    nls_time_format string
    nls_time_tz_format string
    nls_timestamp_format string
    nls_timestamp_tz_format string
    object_cache_max_size_percent integer 10
    object_cache_optimal_size integer 102400
    olap_page_pool_size big integer 0
    open_cursors integer 300
    open_links integer 4
    open_links_per_instance integer 4
    optimizer_capture_sql_plan_baselines boolean FALSE
    optimizer_dynamic_sampling integer 2
    optimizer_features_enable string 11.2.0.1
    optimizer_index_caching integer 0
    optimizer_index_cost_adj integer 100
    optimizer_mode string ALL_ROWS
    optimizer_secure_view_merging boolean TRUE
    optimizer_use_invisible_indexes boolean FALSE
    optimizer_use_pending_statistics boolean FALSE
    optimizer_use_sql_plan_baselines boolean TRUE
    os_authent_prefix string ops$
    os_roles boolean FALSE
    parallel_adaptive_multi_user boolean TRUE
    parallel_automatic_tuning boolean FALSE
    parallel_degree_limit string CPU
    parallel_degree_policy string MANUAL
    parallel_execution_message_size integer 16384
    parallel_force_local boolean FALSE
    parallel_instance_group string
    parallel_io_cap_enabled boolean FALSE
    parallel_max_servers integer 80
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    parallel_min_time_threshold string AUTO
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    parallel_servers_target integer 32
    parallel_threads_per_cpu integer 2
    permit_92_wrap_format boolean TRUE
    pga_aggregate_target big integer 5905M
    plscope_settings string IDENTIFIERS:NONE
    plsql_ccflags string
    plsql_code_type string INTERPRETED
    plsql_debug boolean FALSE
    plsql_optimize_level integer 2
    plsql_v2_compatibility boolean FALSE
    plsql_warnings string DISABLE:ALL
    pre_page_sga boolean FALSE
    processes integer 150
    query_rewrite_enabled string TRUE
    query_rewrite_integrity string enforced
    rdbms_server_dn string
    read_only_open_delayed boolean FALSE
    recovery_parallelism integer 0
    recyclebin string on
    redo_transport_user string
    remote_dependencies_mode string TIMESTAMP
    remote_listener string
    remote_login_passwordfile string EXCLUSIVE
    remote_os_authent boolean FALSE
    remote_os_roles boolean FALSE
    replication_dependency_tracking boolean TRUE
    resource_limit boolean FALSE
    resource_manager_cpu_allocation integer 4
    resource_manager_plan string
    result_cache_max_result integer 5
    result_cache_max_size big integer 2624K
    result_cache_mode string MANUAL
    result_cache_remote_expiration integer 0
    resumable_timeout integer 0
    rollback_segments string
    sec_case_sensitive_logon boolean TRUE
    sec_max_failed_login_attempts integer 10
    sec_protocol_error_further_action string CONTINUE
    sec_protocol_error_trace_action string TRACE
    sec_return_server_release_banner boolean FALSE
    serial_reuse string disable
    service_names string jtvOrcl.domain
    session_cached_cursors integer 50
    session_max_open_files integer 10
    sessions integer 248
    sga_max_size big integer 512M
    sga_target big integer 512M
    shadow_core_dump string partial
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 16148070
    shared_pool_size big integer 0
    shared_server_sessions integer
    shared_servers integer 1
    skip_unusable_indexes boolean TRUE
    smtp_out_server string
    sort_area_retained_size integer 0
    sort_area_size integer 65536
    spfile string /opt/oracle/product/11.2.0/db_
    1/dbs/spfilejtvOrcl.ora
    sql92_security boolean FALSE
    sql_trace boolean FALSE
    sqltune_category string DEFAULT
    standby_archive_dest string ?/dbs/arch
    standby_file_management string MANUAL
    star_transformation_enabled string FALSE
    statistics_level string TYPICAL
    streams_pool_size big integer 0
    tape_asynch_io boolean TRUE
    thread integer 0
    timed_os_statistics integer 0
    timed_statistics boolean TRUE
    trace_enabled boolean TRUE
    tracefile_identifier string
    transactions integer 272
    transactions_per_rollback_segment integer 5
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    use_indirect_data_buffers boolean FALSE
    user_dump_dest string /opt/oracle/diag/rdbms/jtvorcl
    /jtvOrcl/trace
    utl_file_dir string
    workarea_size_policy string AUTO
    xml_db_events string enable

  • Extremely poor ethernet performance?

    If I burn a DVD from one Mac on the network to the MBP the network performance is so poor that even web pages stop loading and iTunes can't stream music. This is with 1000T ethernet.
    Now I have plenty of other mac's on the network that are 5 years old and they handle it flawlessly.
    Any else have ethernet problems when coping large files?

    I'm not sure exactly what you are doing with a DVD, but the MBP has gigabit Ethernet which should transfer files very rapidly. Perhaps you could explain a bit more fully?
    Is the rest of your network also gigabit? The cables, switches, etc?
    If you look at your Network Utility (in /Applications/Utilities) what sort of Link Speed are you getting for your Ethernet connection? If you move the MBP to the connection being used by another computer that is getting high speeds, does anything change?
    Let us know, we'll keep working on it with you.

  • Extremly poor network performance

    Hello all. First time post, please excuse any annoyances.
    I'm using a WRT300N Wireless-N Broadband Router connecting three (sometimes four) computers. Two wired and one (sometimes two) wireless, using 802.11G.
    After a long period of time or after a short period of extremely high use (usually bit-torrenting assorted files) my network performance crawls to a near stop. My laptop will show an "excellent" connection but the speed will be 1 Mbps. The wired computers still show a connection of 100 Mbps but cannot connect to anything, including the router (using the web configure site). All connections time out. This happens to all the computers connected at the time and the only cure I've found thus far is to restart the router and or modem. If you need any more information please ask. Below is the information of my router, computers hooked to the router, and the network connection coming in.
    Connection coming in the house:
    Comcast Cable. 6 Meg connection (download)
    Router:
    WRT300N Wireless-N Broadband Router
    Using the latest firmware (0.93.3)
    Using DHCP, Laptop1 and Desktop1 have reservations.
    Laptop1:
    Broadcom internal wireless 'card' running 802.11G
    Desktop 1:
    Intel NIC
    Desktop 2:
    Asus motherboard onboard NIC
    (occasional) Laptop2:
    Dell external wireless card running 802.11G

    I must apologize for one annoyance... the whole post. I skipped step one of posting by forgetting to use that handy-dandy "Search" box located just above this whole post deal, I apologize again. I've found (after searching) that this problem is actually quite common with the 300N and I assume it's a firmware issue, I then assume that Linksys is working day and night, sweating behind a monitor, sleepless and hungry because all they are doing is trying to resolve this issue... then again... you know what they say about 'assuming''.

  • Extremely poor internet performance 1841

    **Edit**
    To add more to this,  somehow I missed it but I had quite a few CRC errors on the outside interface.  I switched the FastEthernet0/0 to speed auto, duplex auto and now I am getting about 45Mbps download speed.  I would still like to see the router get closer to 60 though,  is there anything I could tweak in the config that might increase the speed of this just a little bit?  Or is an 1841 only rated to about 45Mbps with all the firewall features turned on?
    **End Edit**
    A school I am doing some volunteer work for has a 60/4 coax internet service through Charter communication.  I just put in an older Cisco 1841 router and used my default standard config I use at many other sites.  For some reason I am only getting about 6 - 8 mbps download speeds with the router.  When I plug directly into the cable modem with my laptop I am getting the advertised speeds.
    Attached is my config, it looks pretty standard to me and for the life of me I can not see why this router would be performing so poorly.  The CPU utilization is very low,  I have to be missing something though.
    Thank you everyone

    I'm having the same issue with the 1841 I get about 12Megbit were I can get over 20 connected with a cheap old linksys router. If you look at the processor it's pegged at 100% after doing some research I found the 1841 has a slow CPU it's max is only 38meg that's not even natting. I assume when you nat the CPU is maxed out.  My IP input shows 70% while downloading a 500meg file. I'm going to try an ASA5200  
    120   184159140    71050305       2591 66.79% 24.54%  6.34%   0 IP Input
          999999996666699999999999999999999999999999999999666667777777
          666999992222288888999999999988888555556666699999777779999911
      100 ********     ***********************************
       90 ********     ***********************************
       80 ********     ***********************************     *****
       70 ********     ***********************************************
       60 ************************************************************
       50 ************************************************************
       40 ************************************************************
       30 ************************************************************
       20 ************************************************************
       10 ************************************************************
         0....5....1....1....2....2....3....3....4....4....5....5....6
                   0    5    0    5    0    5    0    5    0    5    0
                   CPU% per second (last 60 seconds)

  • Airport Extreme Poor WiFi Performance

    I've been doing periodic bandwidth tests with speedtest.net for several years now. I have an account, so my results are saved. I do them from a Mac Mini and also from my iPad.
    The MacMini is hardwired to an Airport Extreme. The iPad is, of course, using WiFi. Usually it is on the 5GHz network, but sometimes (I have no idea why) it selects the 2.4GHz network. The 5GHz network is "n only", the 2.4GHz network is b/g/n. Security is WPA/WPA Personal. The Airport Extreme is on firmware 7.6.1. (I rolled back in December, a couple of months after I noticed the degraded WiFi performance.)
    Until mid-October of last year, the results on the iPad were similar to those on the MacMini.
    For example:
    On October 4 : iPad - 10.27 Mbps; Mini - 11.25 Mbps
    On July 21   : iPad - 10.13 Mbps; Mini - 11.39 Mbps
    However, beginning with tests done in late October, the results for the iPad are markedly inferior to those of the Mini:
    On January 17: iPad - 00.49 Mbps; Mini - 06.14 Mbps
    Today        : iPad - 00.87 Mbps; Mini - 08.69 Mbps
    Oddly, when I switch the iPad to the 2.4GHz network, it does much better: 2.40 Mbps (today) But, still, much worse than before October and much worse than the Mac Mini. All the iPhones in the house are on the 2.4GHz network and get results similar to the iPad. However, none of them have as much test history saved.
    I don't think it's a question of interference. None of my neighbors have 5GHz capable routers. On 2.4 GHz, I'm using channel 1. Both of my neighbors with routers are on channel 6. No cordless phones or other cordless devices in this house.
    I have recently reset the network settings on both the iPad and iPhone.
    So, what did I do to mess up the WiFi on my Airport Extreme?

    Thanks.
    Model is A1408.
    I set the 2.4GHz network to channel 8.
    I had to leave the 5GHz network to "Automatic" because choosing 36, 40 or 44 prevented both of my Airport Expresses from connecting. They would only connect with "Automatic".
    All the names are alphanumeric and short: mgn, mgn5ghz, AirEx, etc.
    I disconnected my MacMini's ethernet cable and just used WiFi. As expected, bandwidth decreased from the normal 10Mbps to about 2.8 Mbps.
    I did not do a factory reset as family is about to come home and I don't want to be fiddling when they're expecting working WiFi. I'll do it tomorrow.
    Here's the Wireless Diagnostics Log:
    # --- Check Connectivity
    # --- Wi-Fi Interface
              Interface Name                    : en1
              MAC Address                    : 00:24:36:f0:a9:33
              Network Name                    : mgn
              Active PHY Mode                    : 802.11n
              Security                    : WPA2 Personal
              SSID                    : mgn
              BSSID                    : b8:8d:12:63:32:8d
              Country                    : TH
              RSSI                    : -51 dBm
              Noise                    : -89 dBm
              Rate                    : 130 Mbps
              Channel                    : 8
              Channel Width                    : 20MHz
    # --- Bluetooth
              Power State                    : On
              Paired Devices                    : 0
    # --- Wireless Environment
              2.4 GHz Networks          : 2
              5 GHz Networks                    : 2
              Current Channel Networks          : 2
              Recommended 2.4GHz Channels          : [ 11 6 1 2 3 4 5 7 9 10 12 13 ] 8
              Recommended 5GHz Channels          : [ 36 40 44 48 153 157 161 165 ] 149
    # --- Network Configuration
              Primary IPv4 Interface          : en1
              IPv4 Address                    : 192.168.0.76
              IPv4 Router                    : 192.168.0.1
              Primary IPv6 Interface          : None
              IPv6 Address                    : None
              IPv6 Router                    : None
              DNS Servers                    : 192.168.0.1
                                              8.8.8.8
                                              8.8.4.4
    # --- Debug Log Entries
    01/20/14 16:48:29.6470           Large preferred networks list count <31>
    01/20/14 16:48:43.2710           SMTP port check time out
    01/20/14 16:48:43.2760           Current Wi-Fi network is an AirPort network

  • Extremely poor delete performance on DS 5.2sp4

    I'm trying to run some bulk deletes on our production master server (5.2 sp 4), and we're having problems with the performance. Strangely, the problem doesn't seem to manifest on the replicas.
    Below is a section from the logfile. I sent ten deletes using ldapdelete -f.
    The first five go very quickly, then apparently, the server decides to do some "housekeeping" and "goes away" for nearly five minutes. The next five are quick to return, then the unbind, but the "housekeeping" continues on the server for nearly five minutes.
    During those five minutes, disk usage is very high (the disk the ldap db's are on is normally very lightly used).
    Suggestions?
    [31/Jan/2006:11:25:26 -0800] conn=8544 op=0 msgId=1 - RESULT err=0 tag=120 nentries=0 etime=0
    [31/Jan/2006:11:25:26 -0800] conn=8544 op=-1 msgId=-1 - SSL 128-bit RC4
    [31/Jan/2006:11:26:02 -0800] conn=8544 op=1 msgId=2 - BIND dn="uid=darrell,XXX" method=128 version=3
    [31/Jan/2006:11:26:02 -0800] conn=8544 op=1 msgId=2 - RESULT err=0 tag=97 nentries=0 etime=36 dn="uid=darrell,XXX"
    [31/Jan/2006:11:26:02 -0800] conn=8544 op=2 msgId=3 - DEL dn="uid=irn00007, XXX"
    [31/Jan/2006:11:26:02 -0800] conn=8544 op=2 msgId=3 - RESULT err=0 tag=107 nentries=0 etime=0 csn=43dfb9ca000000010000
    [31/Jan/2006:11:26:02 -0800] conn=8544 op=3 msgId=4 - DEL dn="uid=irn00025, XXX"
    [31/Jan/2006:11:26:02 -0800] conn=8544 op=3 msgId=4 - RESULT err=0 tag=107 nentries=0 etime=0 csn=43dfb9ca000400010000
    [31/Jan/2006:11:26:02 -0800] conn=8544 op=4 msgId=5 - DEL dn="uid=irn00030, XXX"
    [31/Jan/2006:11:26:03 -0800] conn=8544 op=4 msgId=5 - RESULT err=0 tag=107 nentries=0 etime=1 csn=43dfb9ca000900010000
    [31/Jan/2006:11:26:03 -0800] conn=8544 op=5 msgId=6 - DEL dn="uid=irn00032, XXX"
    [31/Jan/2006:11:26:03 -0800] conn=8544 op=5 msgId=6 - RESULT err=0 tag=107 nentries=0 etime=0 csn=43dfb9cb000300010000
    [31/Jan/2006:11:26:03 -0800] conn=8544 op=6 msgId=7 - DEL dn="uid=irn00108, XXX"
    [31/Jan/2006:11:26:03 -0800] conn=8544 op=6 msgId=7 - RESULT err=0 tag=107 nentries=0 etime=0 csn=43dfb9cb000500010000
    [31/Jan/2006:11:31:01 -0800] conn=8544 op=7 msgId=8 - DEL dn="uid=irn00125, XXX"
    [31/Jan/2006:11:31:01 -0800] conn=8544 op=7 msgId=8 - RESULT err=0 tag=107 nentries=0 etime=0 csn=43dfbaf5000000010000
    [31/Jan/2006:11:31:07 -0800] conn=8544 op=8 msgId=9 - DEL dn="uid=irn00159, XXX"
    [31/Jan/2006:11:31:07 -0800] conn=8544 op=8 msgId=9 - RESULT err=0 tag=107 nentries=0 etime=0 csn=43dfbafb000000010000
    [31/Jan/2006:11:31:26 -0800] conn=8544 op=9 msgId=10 - DEL dn="uid=irn00164, XXX"
    [31/Jan/2006:11:31:27 -0800] conn=8544 op=9 msgId=10 - RESULT err=0 tag=107 nentries=0 etime=1 csn=43dfbb0e000000010000
    [31/Jan/2006:11:31:37 -0800] conn=8544 op=10 msgId=11 - DEL dn="uid=irn00225, XXX"
    [31/Jan/2006:11:31:37 -0800] conn=8544 op=10 msgId=11 - RESULT err=0 tag=107 nentries=0 etime=0 csn=43dfbb19000000010000
    [31/Jan/2006:11:31:39 -0800] conn=8544 op=11 msgId=12 - UNBIND
    [31/Jan/2006:11:31:39 -0800] conn=8544 op=11 msgId=-1 - closing - U1

    I'm seeing exactly the same here. I have a perl script that is attempting to delete users (we have around 12000 to delete) and after the first 5 it clags up and takes ages (considerable cpu usage increase as well).
    I could turn of the referential integrity plugin I guess (although that will result in a break in service so is a bit of a problem) but we do really want this working.
    All of the attributes refered to in the plugin config are indexed for equality (at least).
    Anyone have any ideas why this struggles? Performing an ldapsearch with what I assume would be the same filter returns instantly (with the correct results!)
    (|(member=uid=dmc,ou=staff,xxx)(uniquemember=uid=dmc,ou=staff,xxx)(owner=uid=dmc,ou=staff,xxx)(seeAlso=uid=dmc,ou=staff,xxx)(nsroledn=uid=dmc,ou=staff,xxx)(iplanet-am-modifiable-by=uid=dmc,ou=staff,xxx)(iplanet-am-static-group-dn=uid=dmc,ou=staff,xxx)
    We are running 5.2P3. Is there something special that I'm missing? (an index that the plug needs but an ldapsearch won't or something?). I'm scratching my head here... a truss of the slapd I'm connected to show a huge amount of reads so I assume it is searching the entire db and not using the indexes - why would this be??

  • Extremely poor Java performance

    I've been experiencing particularly bad performance from Java applications lately, seemingly out of nowhere. I'm seeing a noticable lag when performing operations where there previously were none, and longer operations are taking painfully long now. This is in an application that is manipulating binary files with a Swing GUI.
    I updated to the latest version of the JRE (1.5.0_07) and it didn't help. Are there any oddball things I should be looking for, or things to change that might improve my performance?

    Perhaps you are dealing with larger and larger data files?
    Or the machine has fewer free memory due to other apps running?
    The symptom you describe (of sudden slow down,
    and noticeable lags) could be when the JVM performs
    garbage collection to cope with reduced memory.
    One thing you might want to observe is looking
    at the process size (Use the "top" command in UNIX,
    or use the process explorer on Windows).
    Another thing you might want to try is to run your program
    with profiling option turned on, so that you can see
    which method/class is taking most of the time.

  • Extremely poor WiFi performance...

    I got my touch (8gb) yesterday, and i've noticed my wifi performance is terrible. At home, on my wireless AP (802.11g), pinging the touch i notice at least 10% packet loss, and latency all over the place. At work on our 802.11b AP I see about 60% loss. I've tried every channel on both AP's to rule out interference.
    If i let it go to sleep, when waking back up it's responsive for about 10 - 15 seconds, then takes a dive.
    Example:
    Reply from 192.168.0.111: bytes=32 time=7ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=6ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=2ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=2ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=3ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=2ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=3ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=2ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=3ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=2ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=2ms TTL=64
    Reply from 192.168.0.111: bytes=32 time=2ms TTL=64
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Reply from 192.168.0.111: bytes=32 time=3ms TTL=64
    Request timed out.
    Request timed out.
    Request timed out.
    Reply from 192.168.0.111: bytes=32 time=3ms TTL=64
    Browsing works during the brief period where it responds to ICMP, then it's nearly impossible to browse. It's not near as bad on my home connection though.
    Any ideas other than replacing? I'm going to cruise around and try to find some open AP's to test on later today just to be sure it is defective hardware and not compatibility issues with the APs.
    Message was edited by: J_Walker

    Ok now im in leopard i need to use the new 'network utility' but anyway heres the results of pinging my touch:
    PING 10.0.1.197 (10.0.1.197): 56 data bytes
    64 bytes from 10.0.1.197: icmp_seq=0 ttl=64 time=445.006 ms
    64 bytes from 10.0.1.197: icmp_seq=1 ttl=64 time=158.470 ms
    64 bytes from 10.0.1.197: icmp_seq=2 ttl=64 time=182.414 ms
    64 bytes from 10.0.1.197: icmp_seq=3 ttl=64 time=513.655 ms
    64 bytes from 10.0.1.197: icmp_seq=4 ttl=64 time=231.859 ms
    64 bytes from 10.0.1.197: icmp_seq=5 ttl=64 time=49.459 ms
    64 bytes from 10.0.1.197: icmp_seq=6 ttl=64 time=73.446 ms
    64 bytes from 10.0.1.197: icmp_seq=7 ttl=64 time=404.536 ms
    64 bytes from 10.0.1.197: icmp_seq=8 ttl=64 time=121.158 ms
    64 bytes from 10.0.1.197: icmp_seq=9 ttl=64 time=43.599 ms
    --- 10.0.1.197 ping statistics ---
    10 packets transmitted, 10 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 43.599/222.360/513.655/163.599 ms
    Anybody tell me what this means ?
    thanks
    jas

  • Extremely poor .tag performance

    Hi,
              Has anyone else noticed a severe performance decrease (WLS 9.2) when using .tag files inside a jar file versus .tag files in WEB-INF/tags ?
              We recently migrated our JSPs from using WEB-INF/tags and @tagdir to using the @uri attribute (and move the .tags to META-INF/tags inside a jar). Now we are seeing up to 20 seconds additional load time on even the most simple of JSPs!
              I'ld like to enable some debug settings to see what exactly the server is doing during those 20 seconds, but i couldn't find the right debug category to enable amongst the myriad of available categories.
              Any thoughts ?
              Regards,
              Jorg

    Hi,
              Has anyone else noticed a severe performance decrease (WLS 9.2) when using .tag files inside a jar file versus .tag files in WEB-INF/tags ?
              We recently migrated our JSPs from using WEB-INF/tags and @tagdir to using the @uri attribute (and move the .tags to META-INF/tags inside a jar). Now we are seeing up to 20 seconds additional load time on even the most simple of JSPs!
              I'ld like to enable some debug settings to see what exactly the server is doing during those 20 seconds, but i couldn't find the right debug category to enable amongst the myriad of available categories.
              Any thoughts ?
              Regards,
              Jorg

  • Poor Flash performance on G4 mac mini

    Hi,
    I've got a 1.25Ghz PPC G4 mini with 512mb running 10.4.11 that exhibits extremely poor Flash performance; jerky almost unwatchable video. I downgraded from Flash 10 to 9, and it only got slightly better, and most videos now require 10. I've heard the Flash drivers for Macs are awful; is this the problem?
    Also, maybe possibly related, when I leave the computer on for awhile, the hard disk eventually, and magically, "fills up". After a restart, I have 1.55G of a 37.5G drive. When I leave it on for awhile, it'll get down to Zero KB, and become so slow that I have to restart it again, if it doesn't just crash outright? Is this a memory leak? Is the only way to cure it by wiping the HD and reinstalling the OS?

    I think Boece has nailed it. Can you get more memory in your mini? I know it's a pain and the max quoted by Apple is only 1G, but I think a big part of your problem is just plain lack of memory. When the system does not have enough real memory to work with it will use virtual memory - use the hard drive as if it were memory. This really slows things down, especially when you have a hard drive that is way too full as yours is. You have very little ram to be running OS X and you've effectively blocked the system from the work around it wants to use to deal with this by having a hard drive so full. Add a resource hog like flash and the problem just gets worse. Every time I've added memory to a mac the page-outs have gone down and the system become more responsive. You have a lot of page outs. I've seen macs run all day and have zero - but that's with 4-6g ram. Still, the fewer the better. Here's a nice link to Apple's discussion of memory usage in OS X: http://support.apple.com/kb/HT1342?viewlocale=en_US
    Also, flash will never run great on the graphics sub-system in that unit. I have a MDD G4 1.25 with a similar graphics unit and flash isn't great on that either. But for security reasons I would never run less than the latest version of flash - it is one of the main conduits of malware these days and although I've never heard of problems on the mac it's still not good to leave gaping security holes. Hope this helps.

  • NOKIA N95 EXTREMELY POOR BATTERY

    Hei.
    I have bought Nokia N95 last week and returned it today after extremely poor battery performance. I observed following things:-
    1) I charged the battery full early in the morning at 6. I recieved just one call at 9 and my battery was finished at 2:30. Just for 8 hours standby time?
    2) I charged it fully, used GPS for 30 mins and battery was finsihed after 3 hours? What was that?
    3) I fully charged the battery connected to WIFI and did chat on MSN for around 1 hour and battery was finished exactly after 3.5 hours.
    Nokia builtup so great device and with so much poor battery?
    We will be getting battery replacement? or nokia will be releasing some new battery in future for N95?
    Anyone if having same problem with battery please post comments here or its just with my device?
    Waqar.

    selling my n95 on ebay
    battery is too poor
    i need a phone that dosent need charging 2x 3x every day just for average general use
    gonna go back to my n73 battery is much better operating system is nice and stable after v4 on n73-- i hate the key miss bug in the v12 firmware on n95 --
    i dont need wifi
    dont like maps and in built gps as it takes so long even with the assisted thing turnt on
    my n73 and tomtom is up and running in 1 min max via bluetooth gps
    allthough it would be handy to have the inbuilt one when i didnt have my reciever but my battery would prob drain after 1-2 hours :-)
    my gps reciever goes for at least 6 hours constantly connected probs much longer and that only cst 30 quid
    dunno i was just much more satisfied with the n73 as a contract upgade
    even the slider seems loose
    this device is supposed to cost 500+ quid on nokias website
    if i paid that i would be sooooo dispaointed
    just my view
    if your near a power source all the time or are in the car with a charger youd prob be ok but i just think nokia could/should have put a better battery in there i mean it plays music for like 3-4 hours then batterys drained a half decent mp3 player will last 10-15 hours and my n73 does 5-6 no probs :-)
    cheeses it even more they release the american nokia n95 with bigger battery
    pantsMessage Edited by buxz777 on 29-Aug-200701:53 AM

  • IMAC not Performing extremely poorly

    Please Help-
    I purchased two 24' iMAC machines for our office.
    Installed all my software from my mirror door G4, plus new copies of CS2 Suite.
    I can harldy switch from program to program, saving 100 mb files out of Photoshop takes fifteen minutes, Illustrator hardly works, safari crashes, the entire system runs extremely poorly.
    I have upgraded to 2gb of ram, but only 533 Mhz, I have no extra fonts loaded. I work off a firewire - 2.0 USB external drive, so no files are on the HD. The USB is plugged into the high speed port on the back of the machine.
    I have downloaded Cocktail and run scripts, restarted, verified and repaired permissions, zapped P-Ram, everything I can think- and these forums say to do - and nothing works.
    Many thanks in advance.
    Kevin

    If you used migration assistant to transfer files to your new mac, that is your problem. I have read about others on here who have had the same problem. Some programs and/ or files set up for power pc and not intel are causing your slowdown. You probably are going to have to reinstall osx and import them manually. It is tedious process, but it should solve the problem. I have not had this problem personaly, but others on here have and I do believe this is the fix for it. Try doing some other searches in the forums and see if there is anything else you can do. Also, photoshop is not yet universal and still set up for power pc so it's performance is going to be less than great. I wouldn't use 533 mhz memory in your mac. The specs are supposed to be for 667mhz memory. If that is causing your slowdown I am not for certain I am no computer engineer, but it would seem that using slower memory in the system would definitely cause performance issues. You are running a risky setup using memory not designed for your computer. Good luck.

  • Extremely poor performance to various websites during peak hours - peering issue?

    Since approximately 26 Jan 2015, we have been experiencing extremely poor performance to several specific websites during peak hours, 9pm-11pm.  Page loads take many minutes (or never complete), etc.  Many other sites are perfectly fine, and if I connect to the same sites at the same time through my work VPN, they perform extremly well (under 1sec).  There is no correlation between OS or browser and the poor performance (tested on Windows, OSX, Linux) and speedtest typically reports over 80/80.
    I've not caught any packet loss using periodic pings.  Traceroutes indicate a bunch of different routes being used (I assume this is expected for CDNs), but here's one example of an obviously bad single traceroute:
    $ traceroute images.dailykos.com
    traceroute to fallback.global-ssl.fastly.net (23.235.46.185), 64 hops max
    1 10.1.1.1 0.464ms 0.364ms 0.298ms
    2 173.48.161.1 5.223ms 4.793ms 4.904ms
    3 130.81.191.250 7.387ms 7.466ms 7.366ms
    4 130.81.151.76 4.909ms 4.905ms 4.932ms
    5 152.63.20.117 12.441ms 12.433ms 12.434ms
    6 152.63.4.141 12.373ms 12.468ms 12.370ms
    7 152.179.220.126 14.989ms 14.937ms 14.872ms
    8 68.86.84.249 12.505ms 12.259ms 14.988ms
    9 68.86.85.25 22.409ms 22.433ms 22.519ms
    10 68.86.85.1 19.817ms 19.894ms 19.919ms
    11 68.86.83.74 17.389ms 19.870ms 22.460ms
    12 4.53.116.18 24.815ms 25.080ms 24.851ms
    13 * 208.122.44.198 2849.473ms 29.832ms
    14 173.231.134.18 22.430ms * 2026.736ms
    The sites in question use the Fastly CDN - my theory is that the VZ-Fastly connection is under provisioned or is broken, but I'm out of my depth at this point.  

    "This is a nationwide peering/routing issue that was intentionally created by Verizon to create congestion and (1) extract priority fees from the likes of Netflix and (2) get customers to subscribe to higher speed tiers. This has been acknowledged by the FCC. Verizon is building new interconnections to remedy the problem, but it will persist for at least another 6 months."

  • Poor NAS reading performance in OS X - need help

    Ok, this one is a mystery to me and it's driving me nuts.
    I have the following computers on my gigabit network:
    - iMac (Mid 2010) 27" i7 (Dual Boot configuration, Win7)
    - iMac (Early 2006) 20" Core Duo
    - MacBook (Mid 2007)
    - Dell XPS M1710 Gaming Laptop running Win7
    The NAS in question is a DROBO FS equipped with three 2TB Western Digital drives giving me 3.75TB usable storage.
    All computers can see and access the DROBO. All computers can mount and use all the shares.
    Both the Dell and iMac under Windows 7 seem to be able to write and read the DROBO at speeds as one would expect. Everything works great.
    Read: ~35Mbyte/s
    Write: ~25Mbyte/s
    Once I access the DROBO in OS X however something seems to be causing problems.
    Read: ~2Mbyte/s
    Write: ~25Mbyte/s
    As you can see, the read performance is way slower than it should be. Additionally, it's not a consistent flow of data. Sometimes it will only push 500kb/s then jump back up to around 2Mbyte/s and so forth. It's as if there is something corrupting it or really working against the flow of data.
    Since I have my iTunes library stored on the DROBO it makes it virtually unusable and DROBO tech support so far has been useless.
    If anyone has any ideas about what I can try, please let me know since I'm at my wits end.

    I'm having the exact same problem the original poster described. Drobo works fine (quickly) for both reading and writing on my Windows 7 PC. I can write quickly from my Mac Mini to the Drobo, but can only get 1-2MB/second read speeds. I too have tried direct-connecting the Drobo to the Mini, and that provided the fast speeds I expected. However, I don't think it's a switch issue, because I have both a D-Link gigabit switch and an Airport Extreme base (wired) between the Windows 7 PC and the Drobo. Additionally, I've tried hooking the Mini and Drobo both up to the Airport Extreme (in case the D-Link switch was doing something strange), but got the same issue.
    The Mini has all its software updates, the drobo has both firmware and software updated completely. Any suggestions would be most appreciated, the inability to stream movies is making the Drobo almost useless for me.

Maybe you are looking for

  • HT203175 Does anyone know why I get only 30 seconds of a show that is free instead of the 45 minutes that the show is on?

    I dowloaded Drop Dead diva free and started watching. Power went out after abount 5 minutes in the show. Came back on line and I went to show and know all I get is 30 seconds of the show. Is there away to uninstall the show and reinstall??

  • Here and Now for Nokia N8 doesn't work!

    Hi, I have had this problem ever since I received my phone during Christmas. I have contacted Nokia Support through the phone and email. Of course, sadly, no response and supposedly they escalated the issue. Whenever I run the application and run a s

  • Blu ray app for imac

    Is there any software that simply allows me to use my Imac (the last generation model with the optical drive) as the "screen" for my portable Blu-Ray player.  I have the Firewire adaptor and the HDMI cable already. Thanks!

  • I can't sync Illustrator CC

    I'm not able to sync Illustrator CC.  The 'Sync Settings Now' button is blacked out and unclickable.  I really need some help with this asap, I'm writing a magazine piece about Kuler and Illustrator CC's integration, and it's not looking so good righ

  • Google loading strangely in two parts

    This happens on both my Snow Leopard Macbook Pro and my Leopard imac both using Safari. When I load up my homepage (google.co.uk) first of all the logo and search box appears and it is not until I bring my cursor into the white space of the google pa