- 浏览: 849279 次
- 性别:
- 来自: lanzhou
文章分类
最新评论
-
liu346435400:
楼主讲了实话啊,中国程序员的现状,也是只见中国程序员拼死拼活的 ...
中国的程序员为什么这么辛苦 -
qw8226718:
国内ASP.NET下功能比较完善,优化比较好的Spacebui ...
国内外开源sns源码大全 -
dotjar:
敢问兰州的大哥,Prism 现在在12.04LTS上可用么?我 ...
最佳 Ubuntu 下 WebQQ 聊天体验 -
coralsea:
兄弟,卫星通信不是这么简单的,单向接收卫星广播信号不需要太大的 ...
Google 上网 -
txin0814:
我成功安装chrome frame后 在IE地址栏前加上cf: ...
IE中使用Google Chrome Frame运行HTML 5
Speed up your software
Almost all mature applications have options hidden away in the GUI that can boost their performance on your system, so if we've given you the tweaking bug there's plenty of scope for further experimentation. Whether you're shaving a few seconds of boot time off OpenOffice.org or improving the backbone of your system, the applications that make up your Linux system are what it's all about.
The fastest mirror
Open a root terminal and type: yum install yum-fastestmirror . This well-known Yum plugin ensures that you always download packages from the fastest mirror, which could save minutes on large distro downloads.
Avoid rechecking
Every time you update or install a package Yum has a tendancy to re-download all the metadata packages from each server, which isn't ideal for users with slow connections. You can resolve this by downloading the entire cache in one go and allowing Yum to then refer to this rather than the online sources. Fire up a root terminal and type:
yum checkcache
We recommend you run this command at least once a week to keep the list up to date.
Faster OpenOffice.org
We often harp on about how slow OpenOffice.org is, but it doesn't have to be like that. With just one tweak you can remedy the problem, and with further alterations the latest OpenOffice.org can run on much older hardware. So, before you ditch this office suite forever and use AbiWord and Gnumeric instead, try monkeying with the settings under Tools > Options > Memory to reduce the amount of RAM that OOo chews up.
One easy tweak here that we recommend is to reduce the number of undo steps from the default value of 100 to somewhere between 20 and 30. That way you use less memory than before but still gain the benefits of having an undo function. Another thing you can do is to enable the Systray quick starter (in the bottom of the window). This enables you to keep an instance of OOo in the cache, so you can restart more quickly.
Make OOo more efficient in Tools > Options > Memory.
Increase graphics cache
On systems with under 512MB RAM, use a graphics cache of between 32MB and 64MB, but for systems with 512MB or over we recommend a cache size of at least 128MB, as the additional memory will help large apps such as OOo run that little bit faster.
Remove items from memory
Also in the OpenOffice.org Memory dialog we can define how long OOo leaves things before refreshing its cache. On a system with 256MB RAM or less we recommend setting the refresh to 0:30 (every 30 minutes) as more frequent reloads will cause OOo to lock up or become sluggish. For users of higher-end systems, the 10-minute default is usually fine.
Clean out Yum
For peace of mind and more disk space it makes sense to ensure that Yum's cache doesn't contain any redundant packages. To do so, open a root terminal and type: yum clean all . Ensure you run this before you do any other optimisations for Yum, as this operation will reset them.
Try Opera
It may only be free as in beer and not as in speech, but Opera is a lightweight and very capable alternative to Firefox that's fast enough already even without any optimisation tweaks. It integrates additional tools to handle mail, file sharing and even IRC chats. The Opera community has developed thousands of skins and plugins, and with recent releases personal web space and even a personal web server have been included free of charge.
Opera - not free as in freedom, but still a great, memory-friendly web browser.
Install apt-fast
The apt-fast script can provide a huge speed boost to package management, as we use Axel as a drop-in replacement download manager for Aptitude rather than the traditional wget. You will need to install Axel through Aptitude and then open a text-editor with root permissions and paste the shell code from here directly into the file. Then we recommend you save it as /usr/local/bin/apt-fast (no extension) and close the text editor before opening a root terminal and typing:
chmod +x /usr/local/bin/apt-fast
To use the script, try this as root: apt-fast install packagename or simply use apt-fast update and apt-fast upgrade to update all your packages. The script may be slow in some cases, as the tweaks you made to Aptitude will not apply to the script, and Axel does not use Aptitude's cache.
Get a better download mirror
Head to System > Administration > Software Sources in Gnome and select Other from the drop-down menu next to Server Location. Then click Select Best Server and wait for the checks to finish. When this is finished, close the window and let your distro update its sources.
A common problem with this method is that the update window can freeze and go grey. (This is a known issue with older versions of Ubuntu.) This can be resolved by closing the window (using the Force Quit Gnome applet if necessary by right-clicking the panel and selecting Add to Panel) and then running Add/Remove Software to update the sources.
Halt Java
The JRE in OpenOffice.org is the main culprit for the slow startups. You don't need the JRE to run in a day to day environment, so you can safely disable it, and in the event you do need the JRE you can quickly re-enable it. Simply head to Tools > Options and select Java in the left-hand box. To disable the JRE simply uncheck the box next to Use A Java Runtime Environment.
Remove old packages
Run this to remove orphaned dependancies with APT:
apt-get autoremove
and to remove all package files from the cache:
apt-get clean
Use autoclean rather than clean to remove old versions of packages. Make sure you're root!
Reduce history
By reducing the amount of history that Opera keeps we can reduce the time it takes to initialise it and also curtail Opera reloading its history every five hours. This is achieved by heading to Tools > Preferences and clicking on the Advanced tab. Select History from the left-hand side and then click Clear in the Addresses section. Then set the value as anything from 0 to 1,000, which will be considerably less than the default. You can also uncheck Remember Content On Visited Pages to save further disk space.
Hey Presto
Sometimes updates vary very little from their previous download, especially if it's just a bug fix. If you want to download only the changes, run this as root to install the Presto plugin for Yum:
yum install yum-presto
Disable name completion
Users with low-end systems may find that pictures and the auto-completing navigation bar in Opera can be a little sluggish at times. We can remedy the first issue by disabling Turbo, which pre-draws images before they are loaded. Look in about:config for the Turbo Mode option in User Prefs , then uncheck it. To disable name completion, choose Tools > Preferences > Advanced > Network > Server name completion , then uncheck Look For Local Network Machine .
Voice of the Guru #4
Clement Lefebvre - Founder and maintainer of Linux Mint
"Under Linux Mint we added a 'search' command, which is based on 'find' and 'grep'. It's recursive, it highlights the results, it shows file names and even line numbers. For instance, if you can't remember where you saved that letter you wrote to John, type 'search for John in ~' and that will list all files containing 'John' anywhere under your home directory."
发表评论
-
Fedora 13 Alpha 发布
2010-03-09 10:03 1057经过一周的延期过后,代号 Goddard 的 Fedora 1 ... -
超简单 无需光驱Windows下硬盘安装CentOS
2010-01-02 05:23 6242只要按照以下步骤做了,包你能把CentOS请回家:loveli ... -
Make Linux faster and lighter<3>
2009-11-05 15:54 808Boost your network You've twea ... -
Make Linux faster and lighter<2>
2009-11-05 15:53 610Optimise Gnome Along with KDE, ... -
Make Linux faster and lighter<1>
2009-11-05 15:52 1018With just a few tweaks, your Li ... -
20 Free Best Linux Wallpapers
2009-11-05 15:51 1507Hey linux guys! Who said I fo ... -
The 10 Best Linux Distributions of 2009
2009-11-05 15:49 920It was exactly one year ago tod ... -
Linux虚拟化:10个让你不得不爱的理由
2009-10-31 15:04 725对于很多云技术供应商、虚拟软件 生产商以及大型IT公司来 ... -
CentOS 5.4 发布
2009-10-22 11:09 935CentOS Linux 是一个依 GPL 规范,及利用 Re ... -
Everything is Unix
2009-10-13 07:51 770Recently there has been some ch ... -
GNU项目发布Debugger 7.0
2009-10-10 09:55 837做为一款多种编程语言(如C,C++和Pascal)的调试器,G ... -
openSuse 11.2的最后beta版
2009-10-06 08:06 675openSUSE11.2发布了最后的beta版本。第一个最终候 ... -
Gemtoo Linux为10周年发布特别版的LiveDVD
2009-10-06 08:00 1074Gentoo的开发者宣布为了10周年纪念发布了特别版的Live ... -
Linux saves Aussie electrical grid
2009-10-06 07:44 800QUICK THINKING open sourcerers ... -
恢复LINUX的root密码
2009-10-04 08:43 999一. lilo 1. 在出现 lilo: 提示 ... -
Linux系统中Mysql 密码恢复
2009-10-04 08:43 952【IT168 专稿】Mysql隔一 ... -
戴尔的即时启动Linux主板:是在浪费时间?
2009-10-04 08:42 818本周早些的时候,我 ... -
Linux TCP Tuning
2009-10-01 08:16 1216There are a lot of difference ...
相关推荐
<END><br>4,RemBuilderplus.zip<br>ActiveX that allows the ability to add comment blocks with ease.<END><br>5,VertMenu.zip<br>This is a free active ocx with full source code for a vertical menu with the...
使用Visual C++ 6.0(15KB)<END><br>2,02.zip<br>Visual Studio style UI<br>Visual Studio风格的界面效果(15KB)<END><br>3,03.zip<br>Internet Explorer 4 style UI<br>IE4.0风格的界面效果(29KB)<END><br>4,...
<br><br> m_hDC = CreateCompatibleDC(0) <br> If (m_hDC <> 0) Then <br> If (CreateDIB(m_hDC, lWidth, lHeight, m_hDIb)) Then <br> m_hBmpOld = SelectObject(m_hDC, m_hDIb) <br> Create = True <br> Else <br...
<br><br> m_hDC = CreateCompatibleDC(0) <br> If (m_hDC <> 0) Then <br> If (CreateDIB(m_hDC, lWidth, lHeight, m_hDIb)) Then <br> m_hBmpOld = SelectObject(m_hDC, m_hDIb) <br> Create = True <br> Else <br...
YOu can change the ToopTip and images in RunTime, this will make it easy to make a flashing icon to get the users attention.<END><br>15 , ExcellOS.zip<br>This is a fake Operating System <END><br>16 ,...
The sample creates a new database file and allows you to view, add, or delete records in this database."<END><br>2 , dbprint.zip<br>This demonstrates how to print data from a database.<END><br>3 , ...
Its functionality lies between MySQL and PostgreSQL, however it is faster than both databases.<br><br>In SQLite, author Chris Newman provides a thorough, practical guide to using, administering and ...
`<bndbox>`标签内的`<xmin>`, `<ymin>`, `<xmax>`, `<ymax>`分别代表边界框的左上角和右下角的像素位置。 利用这个数据集,研究人员和开发者可以训练深度学习模型,如Faster R-CNN、YOLO(You Only Look Once)或...
其中,`<filename>`指定了图像文件名,`<size>`包含了图像的宽、高和通道数,`<object>`标签下的`<name>`表示目标类别,`<bndbox>`则给出了目标的边界框坐标(`<xmin>`, `<ymin>`, `<xmax>`, `<ymax>`),描述了目标...
<filename>硬币图像.jpg</filename> <path>/path/to/硬币图像.jpg</path> <source> <database>自定义数据库</database> </source> <size> <width>图像宽度像素</width> <height>图像高度像素</height> ...
You can also create your own policy files that define arbitrary permission sets.<br/><br/>Comparison of the sample security policy file <br/><br/> <br/>Permissions/Resource Setting Admin Default ...
在上述例子中,`<name>`元素表示物体类别(如"car"),而`<bndbox>`元素则包含了物体边界框的坐标(`<xmin>`、`<ymin>`、`<xmax>`、`<ymax>`)。这样的标注数据对于训练深度学习模型,如YOLO(You Only Look Once)...
<path>/path/to/image.jpg</path> <source> <database>The Database</database> </source> <size> <width>640</width> <height>480</height> <depth>3</depth> </size> <object> <name>class1</name> ...
<path>C:\path\to\image.jpg</path> <source> <database>Unknown</database> </source> <size> <width>640</width> <height>480</height> <depth>3</depth> </size> <segmented>0</segmented> <object> ...
1、写入训练的txt文件 <br>    修改configs包下面的config文件中三个属性    然后根据自己的数据集的标注文件是怎么个形式选择执行data包下面process_data.py文件中的两个方法。 <br>  &...
经典的模型如YOLO(You Only Look Once)、SSD(Single Shot Multibox Detector)或Faster R-CNN等都可以被用于目标检测任务,通过网络学习来识别和定位跌倒事件。同时,考虑到跌倒检测的动态特性,也可以考虑使用...
* Clipboard Tools - The clipboard as your trusty sidekick because a smart clipboard is a whole lot better than a simple one.<br> * Navigation Tools - Move through source code faster because fishing ...
* Clipboard Tools - The clipboard as your trusty sidekick because a smart clipboard is a whole lot better than a simple one.<br> * Navigation Tools - Move through source code faster because fishing ...
<label for="friction">friction <span>(f>1: faster, faster! f<1: slow....)</span></label><br /> <input id="friction" value=".9" min="0.5" step="0.05" ...