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)

Similar Messages

  • Poor Internet performance (ping, download, and upload) even wired directly to modem

    I recently purchased a new iMac running OSX 10.8, and have been noticing exteremely poor internet performance compared to what I am used to with our internet connection.  Running speedtests, I typically get results as follows:
    Ping: 500-2500ms
    Download: 2-3Mbps
    Upload: 0.05-0.1Mbps
    There more or less reflect the way web browsing feel.  It takes forever for clicks to take effect, but content loading on pages is reasonable for most lightweight pages.  As a comparison, running the same test on my Win 7 Dell laptop, I get more or less the advertised limits of my internet package:
    Ping: 20-80ms
    Download: 18-15Mbps
    Upload: 0.4-0.6Mbps
    To troubleshoot the issue, I wanted to ensure it was not the wireless connection or the router, so I disconnected the router and run an ethernet cord directly from the iMac to the router, and I got the same results.  I then disconnected the router entirely and ran the cord directly to the cable modem, and again got the same results.  Questioning whether it was an issue with the browser, I downloaded Chrome and again ran the test, only to get the same results.
    Now I feel stuck.  I know there is no issue with the cable modem or the connection coming to our home, but have no idea how to improve the performance of the computer.  I would appreciate some tricks or tips to try and improve the performance on either a wired ethernet connection, or ideally on wireless.
    Thanks in advance.

    Triple-click anywhere in the line below to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -f -a TextEdit
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.

  • Poor Internet Performance on my new iMac Intel Duo

    Hi,
    Just purchased a new iMac Intel 20" intel dual-core. My internet performance stinks. I have a Windows laptop sitting right next to it, plugged into the same ethernet switch, and it gets twice the performance of the Mac. I measured this using the Verizon Fios speed test. Additionally, web-pages load noticeably faster on the windows machine than on the Mac.
    I have the problem whether I'm using Firefox, Safari or Internet explorer.
    I have both machines plugged into a 100BaseT ethernet switch.
    I'm very frustrated, and tempted to return the blasted thing.
    Any ideas, RTFM's or configuration options will be appreciated.

    Me too MIchael. My PC (right next to my iMac Intel) is getting 10 meg dl speed; mac only gets 5 (at best).
    Direct connect from cable modem to Mac yields 7 or 8 , direct connect from cable modem to PC yields 10 megs.
    PC gets 10 dl speed even thru a router; Mac can't get past the 5 mark.
    I'd really like to know what's up with this.
    ISP and Router Manufacturer are no help.
    Any ideas guys?

  • 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 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 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

  • 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 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

  • 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.

  • Poor Internet Performance compared to PC

    Internet speed tests running under 10.4.4 are underperforming the same tests running on my PC underXP Pro, Both are coonected to the same network in my home? The results are the same with or without broadband tuner. Any thoughts?

    built the PCmyself. XP Pro Service Pack 2. AMD 4400 Dual Core. 1 Gig ram, 1 raptor 10,000 RPm HD, BFG NVIDIA 6600 GT OC.

  • Extremely poor internet service

    I'm on Vandenberg Air Force Base Californina, right outside Lompoc (93437) and we have a problem out here.  I've called and called and called about the slow speeds out here with no resolve, maybe i can get someones attention on here.  I have a 3 Mbps connection or so they say, but the only time we see 3 Mbps is at 3AM.  it normally runs between 1 and 2, I know the fine print says between 1 and 3.  Durring peek ours here its dropping to .25 Mbps  thats right verizon i said .25 this is completely unacceptable and a violation of service that you promiss me when i give you my hard earned money every month.  I want this problem corrected immediatly.  I don't know what it's going to take to get my point across.  maybe a class action lawsuit for everyone in the zipcode?  Now i know im only in a forum but i hope they read their own forum, and for thoes of you who say just get another ISP, there isn't another ISP here that's worth a darn, ive looked at them all.  Bottom line is, I want what I'm paying for, not something i can only use in off peek times.  Please Fix the peak time bandwidth issue out here.  I think myself and my fellow Airman that put our lives on the line every day who give you 100% of our best to keep this nation free deserve the same 100% comitment back in return when we pay for a service we should get what is promissed regaurdless of the time of day.
    Hopefully this doesn't land on deff ears
    Jim

    In some areas, Verizon has been known to take speeds from a higher speed, say 15Mbps all the way to down to 3Mbps as a form of bandwidth rationing as a result of lack of capacity upgrades on the DSL Network. Granted, if everything worked wonderfully even with everyone on the base having a 7.1Mbps connection, something else may be up, and that might perhaps suggest you were coming out of a CO instead of a remote. Verizon isn't known to sell more than 3Mbps out of the remotes, mostly due to technical reasons with the equipment they put into them.
    Anyways, I will send you off a PM right now as to how to contact someone. He may or may not be able to help you, but if he is, he can give you details on what equipment you're going through and where the problem is. If you ask him about the connections on the base all being slow, he might be able to solve that issue if it's a problem with a piece of equipment. Check your inbox. .
    Keep us in the loop as to how things go!
    ========
    The first to bring me 1Gbps Fiber for $30/m wins!

  • I am getting poor internet performance

    I am currently on the 3 megabit plan.  I am currently getting a download speed of 1169 kbps and an upload speed of 36 kbps   I have tried restarting the modem and it doesn't seem to help.  I have a Actiontec Mode GT784WNV   Any ideas what the issue might be?
    Here is the traceroute
    traceroute to {Edited for privacy}, 30 hops max, 60 byte packets
    1 gw1-g-vlan201.dca.giganews.com (216.196.98.4) 0 ms 0 ms 0 ms
    2 te0-7-0-9.mpd22.iad02.atlas.cogentco.com (38.122.62.193) 0 ms 0 ms 0 ms
    3 te0-0-0-4.ccr21.iad02.atlas.cogentco.com (154.54.31.105) 0 ms te0-2-0-0.ccr21.iad02.atlas.cogentco.com (154.54.31.101) 0 ms 0 ms
    4 uunet.iad01.atlas.cogentco.com (154.54.13.138) 4 ms verizon.iad01.atlas.cogentco.com (154.54.12.46) 10 ms 10 ms
    5 xe-1-0-4-0.NWRK-BB-RTR1.verizon-gni.net (130.81.19.2) 17 ms xe-1-0-6-0.NWRK-BB-RTR1.verizon-gni.net (130.81.17.109) 15 ms xe-1-0-4-0.NWRK-BB-RTR1.verizon-gni.net (130.81.19.2) 12 ms
    6 P12-0-0.SCTNPA-LCR-01.verizon-gni.net (130.81.22.13) 21 ms 17 ms 20 ms
    7 G2-0-2113.SCTNPA-HZTNPAHZ-ERXG13.verizon-gni.net (130.81.198.25) 20 ms 21 ms 21 ms
    8 * * *
    9 * * *
    10 * * *
    11 * * *
    12 * * *
    13 * * *
    14 * * *
    15 * * *
    16 * * *
    17 * * *
    Solved!
    Go to Solution.

    Here is more info
    Broadband Status
    Broadband Parameter Status
    VPI:
    0
    VCI:
    35
    Broadband Mode Setting:
    ADSL2+
    Broadband Negotiated Mode:
    ADSL2+
    Connection Status:
    CONNECTED
    Downstream Speed:
    1169 Kbps
    Upstream Speed:
    36 Kbps
    Retrains:
    1
    Retrain Timer:
    0 Days, 0H:48M:56S
    ATM QoS class:
    UBR
    Near End CRC Errors Interleave:
    465
    Near End CRC Errors Fastpath :
    N/A
    Far End CRC Errors Interleave :
    15
    Far End CRC Errors Fastpath :
    N/A
    30 Minute Near End CRC Interleave :
    355
    30 Minute Near End CRC Fastpath :
    N/A
    30 Minute Far End CRC Interleave :
    0
    30 Minute Far End CRC Fastpath :
    N/A
    Near End RS FEC Interleave :
    0
    Near End RS FEC Fastpath :
    N/A
    Far End RS FEC Interleave :
    0
    Far End RS FEC Fastpath :
    N/A
    30 Minute Near End FEC Interleave :
    1222
    30 Minute Near End FEC Fastpath :
    N/A
    30 Minute Far End FEC Interleave :
    0
    30 Minute Far End FEC Fastpath :
    N/A
    30 Minute Discarded Packets Downstream :
    0
    30 Minute Discarded Packets Upstream :
    0
    SNR Downstream :
    5 dB
    SNR Upstream :
    102 dB
    Attenuation Downstream :
    50 dB
    Attenuation Upstream :
    25 dB
    Power Downstream
    19.3 dBm
    Power Upstream
    11.3 dBm

Maybe you are looking for

  • How to change font size on Write screen only

    The Thunderbird Write (compose) screen allows font choices for HTML e-mails, but not font sizes in traditional 'points.' There is an up/down button set on the screen, and a setup option for small/medium/large, etc. By sending myself mail, and reading

  • ID 5.5 Interact. PDF, cannot remove white background for Multi-States and buttons.

    Hi I am working on an Interactive PDF Portfolio document. The problem I have is with Multi-State object feature with several buttons going to states that need to be exported as a SWF and imported back into InDesign 5.5. See, the background of my enti

  • SAPSQL_ARRAY_INSERT_DUPREC dump in MFBF

    Dear All, i am getting a problem in MFBF, when we post the document, this gives me the document successfully posted massage with the document number. But when we check the document number in MF12 & MB03, There is no document on that document number.

  • Strange lines and dots with Radeon 1900XT

    I have a strange problem with the output from my video card. My setup is a Mac Pro 2.66 with a Ati Radeon 1900XT card and two 20" cinema displays. Sometimes, and for some reason often with dark grey tints or black the videocard renders a single pixel

  • Dilemma regarding function based indexes

    Hello, I have a dilemma regarding function based indexes. I have read Note:66277.1 on the Metalink discussing thoroughly the subject of "Concepts and Usage of Function Based Indexes". This doc was revised on 30-May-2006 so I was sure it referred to 9