10 September 2008
08 September 2008
My routers bigger than yours
Cisco 7600 OSR Backbone Router
The Cisco 7600 OSR consists of a 256 Gbps switching fabric and a 30 million packets per second (mpps) forwarding engine.
JavaPerformanceTuning points on java system time
Tips July 2008
# System.currentTimeMillis can have resolution times as bad as 60ms on some systems, and in any case resolution is very system dependent. Don't use it to try to reliably measure short times.
# System.nanoTime returns the number of nanoseconds since some arbitrary offset. It is useful for differential time measurements; Its accuracy and precision should never be worse than System.currentTimeMillis; it can deliver accuracy and precision in the microsecond range on many modern systems.
# ThreadMXBean.getCurrentThreadCpuTime offers the possibility of measuring CPU time used by the current thread. But it may not be available, and may have significant overheads. It should be used carefully.
# On Windows, System.nanoTime involves an OS call that executes in microseconds, so it should not be called more than once every 100 microseconds or so to keep the measurement impact under 1 percent.
Avoid NIO, Get Better Throughput?
Avoid NIO, Get Better Throughput | Javalobby
Hmmmmm, I guess its worth trying both? Hopefully using existing libraries for network applications allows you to do this simply.
However, in most instances, maybe non-blocking I/O is not necessary at all? In fact, maybe it is detrimental to performance?... The characteristics of JVMs and threading libraries change as new advances are made. Good advice often becomes bad advice over time... Paul’s experiments show that higher throughput is achieved with blocking I/O, that thread-per-socket designs actually scale well, and that the costs of context-switching and synchronisation aren’t always significant.
Hmmmmm, I guess its worth trying both? Hopefully using existing libraries for network applications allows you to do this simply.
03 September 2008
Crazy software story
The Graphing Calculator Story
I love the quote
I love the quote
the first 90 percent of the work is easy, the second 90 percent wears you down, and the last 90 percent - the attention to detail - makes a good product
01 September 2008
Subscribe to:
Posts (Atom)