Posted by Coder.
Posted by Coder.
Jon Masamitsu’s Weblog
Ergomonics has a default for the relative sizes of the young generation and the tenured generation in the heap. If you have command line flags to specify the sizes of the generations (probably something like -XX:NewRatio=ratio or -XX:MaxNewSize=bytes), use them. GC ergonomics normally does not change the maximum size of a generation so if you know something about how your application runs such that you know it benefits from a larger or smaller young generation, pass …
Posted by Coder.
Bjarne Stroustrup offers a sneak peek at the next version of standard C++ (“C++0x”) which should be complete by 2009.
A Brief Look at C++0x
The C++0x improvements should be done in such a way that the resulting language is
easier to learn and use. Among the rules of thumb for the committee are:
Provide stability and compatibility (with C++98, and, if possible, with C)
Prefer standard library facilities to language extensions
Make only changes that change the way people think
Prefer generality to specialization
Support both experts …
Posted by Coder.
Micro Benchmarking C++, C#, and Java , Elementary tests for comparing languages, by Thomas Bruckschlegel, ToMMTi-Systems
High-Performance I/O With Java NIO, How Orbitz.com improved throughput and performance using NIO, by Brian Pontarelli, Orbitz.com
High-Performance Data Management in Java, On-disk persistent storage, in-memory data storage, & cache management, by Charles Lamb
Posted by Coder.
Weblogs Forum – Java API Design Guidelines
Design to evolve.
Correctness, then simplicity, then efficiency.
Interfaces are overvalued.
Be careful with packages.
Read Effective Java.
Posted by Coder.
DDJ>Thoughts on Language Design
A number of people pointed out that if your language has procedure calls and block structure, and your optimizing compiler is sufficiently talented, then goto is merely a special case of a procedure call—not only theoretically, but pragmatically, and if a procedure call without arguments isn’t as fast as a goto, then your optimizing compiler is leaving a lot of performance on the table.
Posted by Coder.
A brief John Carmack interview from Guardian Unlimited: Gamesblog
Was it strange returning to the very origins of Doom – in terms of graphics, CPU, memory restrictions? Did it bring back any memories of your work on the original game?I’m really not the reminiscing type. Capabilities wise, everything I was able to do back then, I can do a lot better now, but the mobile platform isn’t well suited to tight optimization because of the incredible range of performance you are …
Posted by Coder.
Comparing Two High-Performance I/O Design Patterns
This article investigates and compares different design patterns of high performance TCP-based servers. In addition to existing approaches, it proposes a scalable single-codebase, multi-platform solution (with code examples) and describes its fine-tuning on different platforms. It also compares performance of Java, C# and C++ implementations of proposed and existing solutions.
Posted by Coder.
MySQL AB :: How to Monitor MySQL’s performance
…how you can monitor the database performance of your MySQL installation. Monitoring is always an iterative and continuous process. You need to learn what patterns are OK for your database and what are the signs of slight problems or even dangerous situations.Below are the main items you can use to monitor your system:
mysqladmin extended (absolute values)
mysqladmin extended -i10 -r (relative values)
mysqladmin processlist
mysql -e “show innodb status”
OS data. vmstat/iostat
MySQL error log
InnoDB tablespace info.
Posted by Coder.
DigiTimes.com‘s Chris Hall inteviews AMD’s Raghuram Tupuri, GM in the Microprocessor Solutions Sector – Design Engineering at AMD.
Q: The consensus within the industry is that AMD64 has clearly been a tremendous achievement for AMD and to a large extent has re-defined the competitive landscape in microprocessors. What was the design approach – if you like, the design …
Posted by Coder.
“… an important part of the J2EE specification, EJB persistence, has long been criticized for its complex development model and for poor performance of entity beans. It’s pretty much accepted as fact that if entity beans (especially container-managed persistence entity beans, or CMPs) are going to be used in an application, performance will suffer. This is not true.”
[The article] “focus[es] only on concurrency and long-term caching strategies for CMP entity beans” and “briefly cover[s] improvements available in the most recent …