The Goodie Bag

Just another review and sharing site

Performance Benefits of Google Public DNS

As web pages become more complex, referencing resources from numerous domains, DNS lookups can become a significant bottleneck in the browsing experience. Whenever a client needs to query a DNS resolver over the network, the latency introduced can be significant, depending on the proximity and number of nameservers the resolver has to query (more than 2 is rare, but it can happen). As an example, the following screen shot shows the timings reported by the Page Speed web performance measurement tool. Each bar represents a resource referenced from the page; the black segments indicate DNS lookups. In this page, 13 lookups are made in the first 11 seconds in which the page is loaded. Although several of the lookups are done in parallel, the screen shot shows that 5 serial lookup times are required, accounting for several seconds of the total 11 seconds page load time.

There are two components to DNS latency:

  • Latency between the client (user) and DNS resolving server. In most cases this is largely due to the usual round-trip time (RTT) constraints in networked systems: geographical distance between client and server machines; network congestion; packet loss and long retransmit delays (one second on average); overloaded servers, denial-of-service attacks and so on.
  • Latency between resolving servers and other nameservers. This source of latency is caused primarily by the following factors:
    • Cache misses. If a response cannot be served from a resolver’s cache, but requires recursively querying other nameservers, the added network latency is considerable, especially if the authoritative servers are geographically remote.
    • Underprovisioning. If DNS resolvers are overloaded, they must queue DNS resolution requests and responses, and may begin dropping and retransmitting packets.
    • Malicious traffic. Even if a DNS service is overprovisioned, DoS traffic can place undue load on the servers. Similarly, Kaminsky-style attacks can involve flooding resolvers with queries that are guaranteed to bypass the cache and require outgoing requests for resolution.

We believe that the cache miss factor is the most dominant cause of DNS latency, and discuss it further below.

Cache misses

Even if a resolver has abundant local resources, the fundamental delays associated with talking to remote nameservers are hard to avoid. In other words, assuming the resolver is provisioned well enough so that cache hits take zero time on the server-side, cache misses remain very expensive in terms of latency. To handle a miss, a resolver has to talk to at least one, but often two or more external nameservers. Operating the Googlebot web crawler, we have observed an average resolution time of 130 ms for nameservers that respond. However, a full 4-6% of requests simply time out, due to UDP packet loss and servers being unreachable. If we take into account failures such as packet loss, dead nameservers, DNS configuration errors, etc., the actual average end-to-end resolution time is 300-400 ms. However, there is high variance and a long tail.

Though the cache miss rate may vary among DNS servers, cache misses are fundamentally difficult to avoid, for the following reasons:

  • Internet size and growth. Quite simply, as the Internet grows, both through the addition of new users and of new sites, most content is of marginal interest. While a few sites (and consequently DNS names) are very popular, most are of interest to only a few users and are accessed rarely; so the majority of requests result in cache misses.
  • Low time-to-live (TTL) values. The trend towards lower DNS TTL values means that resolutions need more frequent lookups.
  • Cache isolation. DNS servers are typically deployed behind load balancers which assign queries to different machines at random. This results in each individual server maintaining a separate cache rather than being able to reuse cached resolutions from a shared pool.

Mitigations

In Google Public DNS, we have implemented several approaches to speeding up DNS lookup times. Some of these approaches are fairly standard; others are experimental:

  • Provisioning servers adequately to handle the load from client traffic, including malicious traffic.
  • Preventing DoS and amplification attacks. Although this is mostly a security issue, and affects closed resolvers less than open ones, preventing DoS attacks also has a benefit for performance by eliminating the extra traffic burden placed on DNS servers. For information on the approaches we are using to minimize the chance of attacks, see the page on security benefits.
  • Load-balancing for shared caching, to improve the aggregated cache hit rate across the serving cluster.
  • Prefetching name resolutions, to overcome the limits of conventional, passive caching and aim to serve the majority of requests out of cache. We are experimenting with a DNS prefetching technique which we think offers a significant opportunity for DNS speed-up. Below, we give an overview of the benefits, limitations, and challenges in implementing prefetching, and how we hope to meet those challenges with additional techniques such as traffic prioritization and cache partitioning.
  • Providing global coverage for proximity to all users.

Provisioning serving clusters adequately

Caching DNS resolvers have to perform more expensive operations than authoritative nameservers, since many responses cannot be served from memory; instead, they require communication with other nameservers and thus demand a lot of network input/output. Furthermore, open resolvers are highly vulnerable to cache poisoning attempts, which increase the cache miss rate (such attacks specifically send requests for bogus names that can’t be resolved from cache), and to DoS attacks, which add to the traffic load. If resolvers are not provisioned adequately and cannot keep up with the load, this can have a very negative impact on performance. Packets get dropped and need to be retransmitted, nameserver requests have to be queued, and so on. All of these factors add to delays.

Therefore, it’s important for DNS resolvers to be provisioned for high-volume input/output. This includes handling possible DDoS attacks, for which the only effective solution is to over-provision with many machines. At the same time, however, it’s important not to reduce the cache hit rate when you add machines; this requires implementing an effective load-balancing policy, which we discuss below.

Scaling resolver infrastructure by adding machines can actually backfire and reduce the cache hit rate if load balancing is not done properly. In a typical deployment, multiple machines sit behind a load balancer that equally distributes traffic to each machine, using a simple algorithm such as round robin. The result of this is that each machine maintains its own independent cache, so that the cached content is isolated across machines. If each incoming query is distributed to a random machine, depending on the nature of the traffic, the effective cache miss rate can be increased proportionally. For example, for names with long TTLs that are queried repeatedly, the cache miss rate can be increased by the number of machines in the cluster. (For names with very short TTLs, that are queried very infrequently, or that result in uncacheable responses (0 TTL and errors), the cache miss rate is not really affected by adding machines.)

To boost the hit rate for highly cacheable names, it’s important to load-balance servers so that the cache is not fragmented. There are two ways to accomplish this: one is to use a global cache that is shared by all machines; the other is to partition the cache by name, so that all queries for one name are sent to the same machine. In Google Public DNS, we use both approaches. One pool of machines shares a small global cache containing the most popular names; these machines are load balanced without any affinity or stickiness. If a query cannot be satisfied from this cache, it is sent to another pool of machines that divide up the cache by (less popular) names. All queries for the same name are sent to the same machine, where the name is either cached or it isn’t.

Prefetching name resolutions

As the Internet grows, there is a limit to the cache hit rate a resolver can reach with regular, passive caching: there are relatively few very popular names, and caching the unpopular ones doesn’t help much, since they expire before they are requested again. However, we’d like to be able to serve less popular, less frequently requested names as quickly as we can serve popular names like http://www.gmail.com. Since it’s not acceptable to serve stale or extrapolated results for those names, we also need to ensure that the resolutions are always valid (i.e. have not passed the TTL expiry time).

To accomplish these goals, we are experimenting with aggressively prefetching and refreshing names independently of whether and when users ask for them. There are two major challenges to implementing prefetching properly:

  • Respecting other nameservers’ capacity limits. To ensure that we don’t overload other nameservers with prefetch queries, we impose rate limits on our outgoing requests. To ensure that that self-imposed cap on outgoing capacity is not exhausted by rogue traffic, we divide up the QPS-based quota for each of the nameservers into multiple traffic queues and strictly prioritize prefetch traffic over user traffic.
  • Managing our own servers’ capacity limits. As our servers don’t have infinite memory and CPU, we need to carefully select the names which we can prefetch. We discuss the challenges and our approaches to selecting names for prefetching below.

    In addition, to protect the cache from being eaten up by bogus entries from attackers, we separate the main cache into primary and secondary partitions and give read/write access to each partition according to traffic type.

To maximize the use of the fixed nameserver-QPS limit we have imposed, we need to weigh the benefit of each name record against its cost (nameserver capacity and local CPU and RAM), which is inversely proportional to its TTL. However, determining the benefit of a given name record is a complex task, as we’d like to achieve all of the following, sometimes competing, goals:

  • Minimizing the incidence of cache misses. This implies that we don’t need to independently prefetch popular names such as http://www.google.com and ad.doubleclick.com, since they are likely to be kept fresh by regular user traffic.
  • Serving popular names even when our servers are under DoS attacks that are exhausting our outbound capacity. This implies that we should, in fact, prefetch popular names.
  • Avoiding bogus names injected by deliberate pollution attacks. This implies that we can’t rely on solely on user traffic as the source of names to select.
  • Keeping the set of selected names up to date. We need to be able to adjust the candidate names according to shifts in popularity, cost, etc.

The complexity of the name selection problem makes it impossible to solve online, so we have separated the prefetch system into two components: a pipeline component, which runs as an external, offline, periodic process that selects the names to commit to the prefetch system; and a runtime component, that regularly resolves the selected names according to their TTL windows.

The pipeline component synthesizes the names from a variety of sources, mainly the Google web search index and recent Google Public DNS server logs, and ranks them according to benefit. Benefit is determined by a combination of various factors, including hit rate, the cost of a cache miss, and popularity. The pipeline then factors in the TTL cost; re-ranks all the records; and selects all the names from the top of the list until the cost budget is exhausted. The pipeline continuously updates the list of selected names. The runtime component continuously resolves the selected name records and refreshes them according to their TTL settings.

For closed resolvers, this is not really an issue. For open resolvers, the closer your servers are located to your users, the less latency they will see at the client end. In addition, having sufficient geographical coverage can indirectly improve end-to-end latency, as nameservers typically return results optimized for the DNS resolver’s location. That is, if a content provider hosts mirrored sites around the world, that provider’s nameservers will return the IP address in closest proximity to the DNS resolver.

Google Public DNS is hosted in data centers worldwide, and uses anycast routing to send users to the geographically closest data center.

Note, however, that because nameservers geolocate according to the resolver’s IP address rather than the user’s, Google Public DNS has the same limitations as other open DNS services: that is, the server to which a user is referred might be farther away than one to which a local DNS provider would have referred. This could cause a slower browsing experience for certain sites.

 

Upgrade Firmware Sierra Wireless Compass 885 HSUPA

 

Upgrade Firmware Sierra Wireless Compass 885 HSUPA | Hacking.. and Sharing..

Installation Instructions for USB Compass 885:

  1. Click the J1_0_1_31BT_J1_0_1_33AP file on the main support page. The File Download – Security Warning window opens.
  2. Click Save. The Save As dialog box opens.
  3. In the Save In field, select Desktop. Leave the file name as is and click Save.
  4. When the Download Complete window appears, click Close.
  5. Ensure that the modem is inserted in the computer.
  6. On the desktop, double-click the .exe file. The Open File – Security Warning window opens.
  7. Click Run. The Binary Update Tool window opens, automatically checks for the modem, and begins downloading the firmware.
  8. When the firmware upgrade is complete, click OK.

***Note: Do not remove the modem while the firmware is being downloaded and installed.

  • New effect:
  1. Signal Quality
  2. Low temperature
  3. Stable
  4. Download speed increase

Screenshot

Software Update:

885/AirCard 881U:

3G Watcher 1986
3G Watcher 2062
3G Watcher 2258
3G Watcher 2523 (New)

 

Sierra Compass 885(Firmware):
J1_0_1_17BT_J1_0_1_26AP.exe Version 1.0.1.26 (10.01 MB) [2/19/2009]
B2176_Firmware_J1.0.1.26.dmg for MacOS
J1_0_1_31BT_J1_0_1_32AP.exe Version J1.0.1.32 (10.05 MB) [7/7/2009]
J2_0_0_6AP_Telstra.exe Version J2.0.0.6 (10.76 MB) [9/4/2009]
J1_0_1_31BT_J1_0_1_33AP Version J1.0.1.33ap (9.99 MB) [9/21/2009]<— New Firmware For Windows 7 support please update Watcher first, then update the firmware.

Sierra AirCard 881U (Firmware):
AC881U_F1_2_3_15ap
(Please extract File AC881U_F1_2_3_15ap.exe and find this fileEnable_GPS_CAT5.exe, and double click for GPS Enable.)

Info:

Compass 885/88x have a microSDHC reader capable of reading microSD cards with a capacity of up to 32 GB.
However, given the current microSDHC cards available in the market, we have successfully tested 4 GB microSDHC – Class 4 cards from manufactures such as SanDisk, PQI and Apacer.

Verifying the signal strength
To display the signal strength (RSSI), hold the Option key down and click the WWAN icon. The signal strength is shown in the first line.

RSSI Guidelines
-50 to -80 dBm: Very good
-80 to -90 dBm: Good
-90 to -100 dBm: Low

You may require an external antenna if the signal is low.

Feature Modem

The TRU-Flow solution solves the data throughput problem during simultaneous UL and DL transfers regardless of application,
and minimizes Round-Trip-Time (RTT). It continually monitors IP traffic, RTT, and data throughputs, implementing a patent-pending algorithm to ensure the fastest possible throughput. The TRU-Flow solution is independent of the technology used for the WWAN connection (CDMA, UMTS, etc.), and can be added to most WWAN network devices.

When a user attempts simultaneously UL and DL data transfers, overall data throughput can be significantly reduced. The TRU-Flow solution is designed to solve this problem.

The following figures show that the DL speed more than doubled during simultaneous DL and UL transfers when using the TRU-Flow solution.

No TRU-Flow Solution

With the TRU-Flow Solution

Settings

How to Enable/Disable the microSD memory expansion slot on the Compass 885 modem?

To Enable/Disable the microSD memory expansion slot on the Compass 885 modem, please follow the steps below:
1. Close the Compass modem connection software and all running applications/programs.
2. Click here to download the Enable/Disable SD Tool to your hard disk.
3. Run the tool.
4. On the Enable/Disable SD Tool, click to clear the Enable SD check box and click Continue.
5. Wait for the message “Modem configured correctly”
6. Click Exit. The microSD memory expansion slot will be disabled.

Download

Speedtest:

 

Download and update the BlackBerry Bold 9700 OS 6.0.0.344

Filtered just sharing networks OS 6 for BlackBerry Bold 9700, the latest OS from RIM for the next generation smartphone.

Many users andto update your BB Bold 9700 to OS 6.0 using the exe filtering and have not had any complications, including ensuring that the upgrade process is quick and easy.

BlackBerry-Bold-9700

However, if you’re sure to do this, you can wait for mobile operators and RIM launch the update officially coming days.

Well, some blogs discharge were removed, but there are always other and play again.The file is called 9700_OS6_334.exe and weighs 154.86 MB.

Here are the steps to install the OS 6 on the BlackBerry Bold 9700
Uninstall the old computer any trace of the BlackBerry OS (Go to Windows Control Panel -> Uninstall Programs and select BlackBerry Device Software)
Install the BlackBerry OS 6.0.0.344 recently downloaded (double click, next, next)
Connect your Bold 9700 and use Desktop Manager 6.0 (DM) to back up your device.
– Navigate to the path C: \ program files \ common files \ research in motion \ apploader \ delete the file and run the file vendor.xml loader.exe
– Follow the instructions displayed by the screens, but be careful to make the checks and carefully read what you want or not install
– When finished, ask us if we make a backup device and restore third-party applications, select No as the backup and was previously made
Wait 20 to 30 minutes until the process is completed and the phone completely reboot before disconnecting
– Wait a few minutes and do a battery pull MS
Then open DM and choose to restore from a backup file, select the most recent backup, choose the items you want to restore (only select items such as contacts / calendar / tasks / notes / messages, etc.. – user data, not configuration)
– Install the latest version of your applications and make sure they work properly
Resetting the BlackBerry Bold 9700 with OS 6.0 on a favorite and enjoy

– No third-party applications to restore the apploader
– Make a manual backup before starting this process


Download BlackBerry OS 6.0.0.294 for Blackberry Bold 9700, 9780 Onyx [Leaked Version]

Download BlackBerry OS 6.0.0.294 for Blackberry Bold 9700, 9780 Onyx [Leaked Version]. Don’t forget to backup all data before upgrade the OS. Before the 9780 launched officially, so since we’re getting close to that we should be seeing it.  In any case, if you have a Bold 9780 at hand now, you can go ahead and download the latest 6.0.0.294.  Below is four mirror downloads.

Download BlackBerry OS 6.0.0.294 for Blackberry Bold 9700, 9780 Onyx [Leaked Version]

Hotfile - Rapidshare - Megaupload - Deposit Files

Related posts:

  1. Download BlackBerry New OS 5.0.0.979 for BlackBerry Bold 9700 Onyx [Leaked Version]
  2. Download Rafael Nadal Blackberry Theme for Blackberry Bold 9000, Tour 9650, Onyx 9700
  3. Download BlackBerry OS 6.0.0.280 for Blackberry Bold 9650 Tour [Leaked Version]
  4. Download Eclipse Twilight Theme for blackberry 9700 onyx, 9000 Bold, 8900 Javelin
  5. Download Animated Iron Man Blackberry Theme for Curve 8900 Javelin, Bold 9000, 9700 Onyx

Tricks the keyboard shortcut for blackberry

Quick navigation can be got thru shortcut keys in almost all native apps. There are Blackberry tips have been available such as home screen shortcuts, browser shortcuts, message screen shortcuts and so on.

But are you notice that it can be a lil bit frustrating when you try a new app without shortcuts? In the beginning you may think it seems like to have shortcut but turns out to be not (like some Twitter applications).

Email and Messaging

In the Message List

  • (Some of these work in tasks, memos, and appointments also)
  • Sorting:
  • ALT-i: show only incoming mail
  • ALT-o: show only outgoing mail (messages you have sent – i.e. checkmark icon)

Navigating:

  • t: go to top of message listing
  • b: go to end/bottom of message listing
  • backspace: close message listing and return to home screen (ribbon)
  • Deleting multiple messages at once:

Highlight a date (i.e. Fri, Oct 05,2001) in the message list, hit the thumb-wheel and select delete prior. All messages prior to that date will be deleted.

Hold down the CAP key and use the thumb-wheel to scroll up or down to select messages. Click the thumb-wheel and select ‘Delete Messages’. Combine this with a sorting tip to make it even more useful (i.e. To delete the last 5 messages that you have sent (checkmarks), press ‘ALT’ then the letter ‘o’ (for outgoing) this will show all of your sent messages, then per this tip scroll down and select the last five.

Tips Email and Messaging

Insert a period

When typing in an email or text message, press the space bar twice. In a web address, press the spacebar once.
Insert the @ sign

When typing in an email address, press the space bar.
Use spell check
Use spell check

Eliminate typos! In the device options, click on Spell Check and set your preferences.
Capitalize a letter

Hold the letter key until the capitalized letter appears.
Highlight text

Press the Shift key and scroll across the text with the trackball.
Cut/Copy text

Highlight text and then click the trackball. Click Cut or Copy.
Paste text

After you have cut or copied text, place the cursor where you want to paste it. Click the trackball and click Paste.
View messages

To view only received messages in a message list, press the Alt key and the I key (press the 3 key if you have a SureType device). To view only sent messages, the Alt key and the O key (press the ? key if you have a SureType device). Click the Escape key to view all messages again.
Separate messages

Separate text and email messages into their own message lists. In a message list, click the Menu key and click Options. Click General Options and set the SMS and Email Inboxes to Separate.

Composing Message

  • Press and hold a letter to capitalize it (with Key Rate enabled).
  • Press the SPACE key twice to insert a period and capitalize the next letter.
  • Press the SPACE key to insert the “@” and “.” characters in an Email field. Backspace and type again to over-ride this like you would with AutoText.
  • Press and hold a letter key and roll the thumb-wheel to scroll through international/accent characters, equation symbols and other marks.

Calendar

  • Press T to go to “Today” in the Calendar screen.
  • Press G to go to a specific date in the Calendar screen.
  • The default date range for Calendar synchronization in Desktop Manager may not suit most people. While configuring the Calendar synchronization, click the Advanced button and specify the desired range.

Battery Care & Feeding

  • A new battery should be charged fully, then depleted to red-line. Repeat for 2-3 cycles to condition the battery.
  • Charge the phone nightly. Frequent top-offs are better for a LiIon battery than deep discharges. Consider a charging pod.
  • Set the clock option for When Charging: Enter Bedside Mode. This dims the outer screen and turns off LED notifications.
  • Once in a great while, red-line the battery. This recalibrates the battery meter.
  • The Options screen has a more accurate reading than the battery meter. Settings->Options->Status.

Geek Tips

Rather than looking at the bars, you can change the display of the ‘percentage of battery remaining’ and the ‘signal strength’ to read in real numbers. While at the home screen (ribbon), hold down the orange ALT key while you type DBON. The bars should change to read numbers. For the ‘signal strength’, if you are in the 100 area (that means -100 dBm), you will be transmitting at maximum power (2 Watts), and since coverage is hit and miss at this weak a signal, you may end up transmitting many times before the packets make it through. This might help explain any poorer than normal battery life.

To get the bars back: While at the home screen (ribbon), hold down the orange ALT key while you type DBOF.

Hold down the orange ALT key -AND- the CAP key at the same time, then the letter ‘b’. This will show you the ‘Device Status’ screen with extended battery info and other stuff. This tip should work from any screen.

Hold down the orange ALT key -AND- the CAP key at the same time, then the letter ‘r’. This will show you the ‘Radio Status’ screen. Clicking on some of the info opens up news windows. Pressing the letter ‘p’ while on the ‘Radio Status’ screen sends a packet to the system which will send your BB an acknowledgement in return.

This is useful if you are in a weak signal area and want to stop your BB from searching for other sites. You can do this and your BB might stay there long enough to let you send that message that you might normally be in a too weak of an area to send. Also, pressing the letter “b” on this screen will get you the same ‘Device Status’ screen as tip #3 above. This tip should work from any screen.

Application Tips

  • Update your BlackBerry to the latest firmware. Newer firmware often incorporates battery-saving tweaks.
  • Always exit applications using Menu->Exit or Menu->Close. Forgotten applications running in the background will leech your battery. While holding down the Alt key, press Escape then scroll left/right to see the running applications.
  • BerryWeather: set updates as infrequent as tolerable. Menu->Settings, “Auto Update” and “Advisory Auto Update”.
  • E*Trade Mobile Pro: disable streaming quotes
  • Slacker: cache stations on your microSD card instead of streaming them OTA.
  • WeatherBug: set updates as infrequent as tolerable. Settings->Options->WeatherBug Settings, Menu->Advanced Settings.

Tips and Tricks Video – Shortcuts

How to install applications (JAR, COD or JAD) on Blackberry?

This tutorial is for those who don’t know or having troubles in installing applications on Blackberry. First you will need to know two basic things which will not be repeated again in this tutorial.Read more

Weather Plus Lite-Free App for BlackBerry.

Weather Plus lite is brought to use from the folks at MMMOOO. It’s an advanced weather application which adds a indicator direct to your homescreen without the need of having a “weather slot” enabled theme. The options are easy to follow and you can set it up however you do so wish. Best of all it’s free.