Why is my linux so slow

Why my Linux is slow?

У меня относительно медленная машина — K6-II 450MHz/192M RAM/Riva TNT2 Model 64 (16M памяти). Тем не менее работа в Windows вполне конфортна — никаких проблем со скоростью выполнения программ не бывает. Другое дело Linux. 1. Display repainting очень медленный — стоит запустить пару-тройку GUI программ и можно ожидать, что окна станут оставлять «след» на экране, а то и вообще виден только оконный каркас с пустотой/мусором внутри. Я установил драйвер от NVidia (отдельная история), и стало еще хуже. 2. Постоянно получаю сообщения вроде «CPU overload — Sound server init failure». Неужели sound server требует такого огромного кол-ва ресурсов? Система определяет звуковую карту верно — ESS Solo-1 1969. Никаких проблем со звуковой картой в Windows никогда не было. 3. Память — free показывает, что на только что загруженной системе занято сразу более 120М RAM. Во время работы обычно заняты 180+ и swapping из 192M RAM. Что и зачем пожирает столько памяти? Работая в тех же программах (java) в Win2k, обычно от половины до трети RAM остается свободной. 4. Общая медленность системы — Netscape стартует в Windows максимум за 4 секунды, тогда как в Linux запуск той же версии Netscape может занять аж до 12 секунд! Все описанное относится к RedHat версий 7.2 и 8.0. Я понимаю, что X-server — внешний к ядру процесс и коммуникация с ядром занимает какое-то время, но не такое же катострофически большое! 5. OpenOffice.org — это вообще серьезно? Каким образом неквалифицированный пользователь сможет справится с файлами, созданными в MS Office, — у меня, к примеру, таблицы коверкаются до неузнаваемости, кодировки путаются, и тратится масса нервных клеток. Разве можно рассчитывать что он когда-нибудь станет популярным desktop-приложением? Заранее большое спасибо за ваши комментарии/разъяснения. Валера

Re: Why my Linux is slow?

Эх, хотел написать, что у тебя руки из .
Не буду.
1. Какой у тебя оконный менеджер?
2. Какая у тебя мозилла и ставил ли ты в виндах быструю загрузку?
3. Какой у тебя OO?

Re: Why my Linux is slow?

а после установки драйверов от Нвидии ты конфиг правил по ридми.

драйвер для соло — maestro3 вроде

ps и ответь на вопросы jackilla

Re: Why my Linux is slow?

Кстати, есть смысл понастраивать жёсткий диск. Есть такая утилитка — hdparm. Я на паре компов с ей поигрался — ускорение работы винта в 5—20 раз (по встроенному в её тесту).

С уважением — Смоляное Чучелко

Источник

Why is Linux running so slow?

Your Linux computer could be running slow for any one of the following reasons: Unnecessary services started at boot time by systemd (or whatever init system you’re using) High resource usage from multiple heavy-use applications being open. Some kind of hardware malfunction or misconfiguration.

Читайте также:  Get info about system linux

What to do if a Linux system is slow?

Limit the amount of memory the app is using (for example, on a web server, limit the number of processes available to serve requests) until the condition abates, or add more memory to the server. App is slow because the server is doing lots of I/O. Look for high values of IO/bi and IO/bo, and CPU/wa.

Why is my Linux Ubuntu so slow?

The Ubuntu operating system is based on the Linux kernel. Over time however, your Ubuntu 18.04 installation can become more sluggish. This can be due to small amounts of free disk space or possible low virtual memory due to the number of programs you’ve downloaded.

What is sudo apt get clean?

sudo apt-get clean clears out the local repository of retrieved package files.It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. Another possibility to see what happens when we use the command sudo apt-get clean is to simulate the execution with the -s -option.

How do I clean up Linux?

The 10 Easiest Ways to Keep Ubuntu System Clean

  1. Uninstall Unnecessary Applications.
  2. Remove Unnecessary Packages and Dependencies.
  3. Clean Thumbnail Cache.
  4. Remove Old Kernels.
  5. Remove Useless Files and Folders.
  6. Clean Apt Cache.
  7. Synaptic Package Manager.
  8. GtkOrphan (orphaned packages)

Is Linux slower than Windows?

Linux is far faster than Windows. It’s why Linux runs 90 percent of the world’s top 500 fastest supercomputers, while Windows runs 1 percent of them. What’s new “news” is that an alleged Microsoft operating system developer recently admitted that Linux is indeed much faster, and explained why that’s the case.

Is Ubuntu really fast?

Ubuntu runs faster than Windows on every computer that I have ever tested. LibreOffice (Ubuntu’s default office suite) runs much faster than Microsoft Office on every computer that I have ever tested.

Why is Windows slower than Linux?

There are many reasons for Linux being generally faster than windows. Firstly, Linux is very lightweight while Windows is fatty. In windows, a lot of programs run in the background and they eat up the RAM. Secondly, in Linux, the file system is very much organized.

Источник

Linux Running Too Slow? Here’s How to Find the Cause

Linux Running Slow Feature

There’s nothing more frustrating than installing Linux on your PC and the whole system still feeling sluggish. After spending money building, purchasing or upgrading a machine, you expect it to be snappy. However, that’s not always the case, and with Linux, you can do quite a bit of investigating to check out what’s wrong. Today, we show you how to find the cause of your Linux machine running too slow.

Why Is My Linux Computer Running Slow?

Your Linux computer could be running slow for any one of the following reasons:

  • Unnecessary services started at boot time by systemd (or whatever init system you’re using)
  • High resource usage from multiple heavy-use applications being open
  • Some kind of hardware malfunction or misconfiguration
Читайте также:  What is linux home partition

Before we find out how we can speed up a Linux computer, we need to know which methods can help us find the services started at boot time, processes running with higher or lower priorities, CPU health status, and whether the RAM is filled with much more data than it requires, and also check whether the swap memory area is full. Lastly, we also need to check if the hard disk is working well.

Examine CPU Information

When you want to speed up a slow Linux computer, the first step is to check CPU information. If your computer is struggling to open a program like Firefox or LibreOffice, there’s a possibility that it’s because your CPU is not powerful enough for heavyweight applications.

Open a terminal and run one of the following commands:

cpuinfo

cpuinfo-list

The above commands display detailed information about your CPU, such as vendor_id, model name, CPU MHZ, cache size, microcode and bogomips.

Let’s go through some important details about CPU information.

  • bogomips: simply means Bogus Millions of instructions per second. It is a standalone program that displays your system performance.
  • model_name: model_name indicates the manufacturer, model and speed of the CPU. In this case, we have an Intel(R) Celeron(R) CPU that has a speed of 1.73GHz.
  • cpu MHZ: cpu MHZ (MegaHertz) is used to measure the transmission speed of channels, buses and the computer’s internal clock. In this case the transmission speed is 1733.329GHz.

Here we can see the problem clearly: the Intel Celeron 1.73 GHz CPU is an old processor with little processing power. It’s a single core CPU that runs at a low speed, whereas many newer CPUs run 16 cores at nearly 5 GHz.

Solution

When you have an old and slow CPU, the only solution is to change to a newer one. Learn what you need to look for when buying a new processor.

Check for Services Started at Boot Time

There are different methods to check for services started at boot time. You can use any of the following commands.

This command lists services started at boot time:

service

This command lists services started at boot time. It is compatible with CentOS, AlmaLinux, Fedora, and RHEL:

chkconfig1

This command also lists services started at boottime:

initctl is a daemon control tool that allows a system administrator to communicate and interact with Upstart daemon.

init-ctl

If your system is using systemd, you can use the following command to find the services that run at boot time:

sudo systemctl list-unit-files --state=enabled

Solution

For Linux distro that are using systemd, you can use the systemctl command to manage your services, so they will not run during boot time.

Examine CPU Load

Apart from checking for services started at boot time, you can also check whether your processor/CPU is overloaded with processes. You can use the command top or any of these system monitoring tools to check CPU load.

Читайте также:  Google remote desktop linux

The top command sorts processes with the highest usage on top. As you can see from the screenshot below, you can clearly identify which process/application is abusing your CPU and kill it if necessary using the kill command.

topnew

Solution

If you are running too many applications (both in the foreground and background), and your CPU is not up to par, it is best to close the applications you are not using. Also, disable any applications you are not using that are running in the background.

Alternatively, you can use preload to load commonly used applications. Preload is a daemon that runs in the background and analyzes frequently-run applications.

Open a terminal and run the following command:

# Ubuntu/Debian sudo apt install preload # Fedora sudo dnf install preload

Preload works in the background, so there is no need tweak it. Preload loads a section of commonly-used applications into memory to ensure faster load of these applications.

Check for Free Memory Space

RAM is where commonly used applications are usually stored. You can use the free command to check for memory information, such as free space available for RAM and so on. Less memory space can also affect a computer’s performance.

free

Solution

Either upgrade your RAM or replace your memory-intensive applications with lightweight alternatives. Applications such as Libreoffice are rather memory intensive. Instead of using LibreOffice, you can use Abiword.

Check Whether Your Hard Drive Is Overworking

Is your hard drive light constantly chugging along, yet you have no idea what it’s doing? Mysterious input/output can be a problem, so there is a top-like tool called iotop, specifically meant to help diagnose this kind of problem.

Open a terminal and enter the command:

# Ubuntu/Debian sudo apt install iotop # Fedora/CentOS sudo dnf install iotop

A normal, idle system should be mostly zeros across the board, sometimes with a few small bursts while data is being written, as in the screenshot below.

linuxperformance-iotop1

If, however, you run a disk-intensive utility like find, you’ll see its name and throughput listed clearly in iotop .

linuxperformance-iotop2

Now you can easily find out which program is using your I/O, who ran it, the speed the data is being read, and more.

Conclusion

While there are many things that can potentially cause system slowness, CPU, RAM, and disk I/O are behind the vast majority of performance problems. Using the methods described here will help you determine the cause of your performance problems and how you can fix them.

The next thing you can do is to speed up your Ubuntu system. If you are also having Wi-Fi issues, check out this guide to fix the Wi-Fi not working in Linux issue.

John is a young technical professional with a passion for educating users on the best ways to use their technology. He holds technical certifications covering topics ranging from computer hardware to cybersecurity to Linux system administration.

Our latest tutorials delivered straight to your inbox

Источник

Оцените статью
Adblock
detector