图片移动、鼠标画线----实现GIS地图操作
2006-07-27 15:07
696 查看
摘自:http://rudd-o.com/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that
Tuning swappiness to prevent impromptu RAM hijacking
Swappiness is the name Linux kernel developers gave to the preference between paging applications
out to disk and (in practice) shrinking caches. If it's close to 0, Linux will prefer to keep applications
in RAM and not grow the caches. If it's close to 100, Linux will prefer to swap applications out, and
enlarge the caches as much as possible. The default is a halthy 6
调整交换分区的大小避免RAM使用到交换分区
交换分区实际上是Linux内核开发人员将进程中的页移到磁盘的一项技术。
如果关闭交换分区,Linux将所有的进程保存在RAM中,减少cache的使用
。如果交换分区接近100,Linux可能将进程换出RAM,尽可能的释放内存。
默认值是60.
The irony of this preference is that, in fact, paging an unused application out generally produces a net performance increment, since the cache really helps a lot when it's needed -- but this net performance increment translates to a net drop in perceived performance, since you usually don't care whether a file uncompresses a few seconds later, but you do care (a lot) when your applications don't respond instantaneously.
具有讽刺意味的是,被换出的进程产生一个性能上的提升,因为这个时候内存可以为所欲为。但是也带来性能上的问题,因为你可能不感兴趣保存在内存中的东西,什么玩意?但是你会耿耿于怀如果我的心肝宝贝没有响应。
Tuning swappiness to prevent impromptu RAM hijacking
Swappiness is the name Linux kernel developers gave to the preference between paging applications
out to disk and (in practice) shrinking caches. If it's close to 0, Linux will prefer to keep applications
in RAM and not grow the caches. If it's close to 100, Linux will prefer to swap applications out, and
enlarge the caches as much as possible. The default is a halthy 6
调整交换分区的大小避免RAM使用到交换分区
交换分区实际上是Linux内核开发人员将进程中的页移到磁盘的一项技术。
如果关闭交换分区,Linux将所有的进程保存在RAM中,减少cache的使用
。如果交换分区接近100,Linux可能将进程换出RAM,尽可能的释放内存。
默认值是60.
The irony of this preference is that, in fact, paging an unused application out generally produces a net performance increment, since the cache really helps a lot when it's needed -- but this net performance increment translates to a net drop in perceived performance, since you usually don't care whether a file uncompresses a few seconds later, but you do care (a lot) when your applications don't respond instantaneously.
具有讽刺意味的是,被换出的进程产生一个性能上的提升,因为这个时候内存可以为所欲为。但是也带来性能上的问题,因为你可能不感兴趣保存在内存中的东西,什么玩意?但是你会耿耿于怀如果我的心肝宝贝没有响应。
相关文章推荐
- css3和js实现鼠标滑过图片微移动 平滑过渡
- 通过 css3 实现鼠标划过图片移动
- 使用WPF Resource以及Transform等技术实现鼠标控制图片缩放和移动的效果
- jquery实现菜单(菜单背景图片随着鼠标的移动而变化)
- 终于解决!图片随鼠标移动在FireFox下实现,另附一个好玩的图片随鼠标伸缩效果
- CSS3实现鼠标移动到图片上图片变大(缓慢变大,有过渡效果,放大的过程是有动画过渡的,这个过渡的时间可以自定义)
- 连接图片(二),实现根据鼠标方向,平滑移动
- CSS3实现鼠标移动到图片上图片变大(缓慢变大,有过渡效果,放大的过程是有动画过渡的,这个过渡的时间可以自定义)
- JavaScript (实例:实现鼠标移动到图片上后图片放大同时不超出指定范围)
- JavaScript简单实现鼠标移动切换图片的方法
- 鼠标移动到图片上实现图片的放大缩小
- JQuery实现鼠标移动到图片边框效果
- Js中实现图片随鼠标移动——ClientX,ClientY,Position
- jQuery鼠标移动图片上实现放大效果
- 纯CSS实现鼠标移动切换图片示例
- 利用JQuery实现鼠标移动到图片上方的时候显示二维码,离开的时候不显示二维码
- MFC实现当鼠标移动到button按钮上时是显示一张图片,移开显示另外一张,点击是显示另外一张
- JQuery在HTML中实现图片随鼠标移动而移动
- 1.纯css实现鼠标移动图片切换的效果