实在是受不了GFW,利用AppEngine帐号setup了一个GAppProxy。
很简单。再配合AutoProxy,可以自由访问blogger,facebook了。
唯一的困难是https还有问题,不能正常使用twitter。
有人已经有些思路。期待能够解决
Monday, July 13, 2009
Sunday, April 19, 2009
two bad things for database server on linux
Today saw a post about swappiness in pythian. It recalls my memory of tuning oracle on linux.
Linux is great, but not all things on linux are optimal for database. There are two bad things. One is swappiness, another one is file cache. If you run oracle on linux default, you may find the file system cache often grabs huge memory and system is busy in paging out oracle processes. It's too bad.
The solution is 1) setting swappiness to zero, it tells linux to release file cache instead of swapping processes to disk when memory is tight 2) use DIRECT_IO (no file system caching in db2), it bypass file cache so not suffers double-buffering.
Linux is great, but not all things on linux are optimal for database. There are two bad things. One is swappiness, another one is file cache. If you run oracle on linux default, you may find the file system cache often grabs huge memory and system is busy in paging out oracle processes. It's too bad.
The solution is 1) setting swappiness to zero, it tells linux to release file cache instead of swapping processes to disk when memory is tight 2) use DIRECT_IO (no file system caching in db2), it bypass file cache so not suffers double-buffering.
Subscribe to:
Posts (Atom)