Questions tagged [optimization]

Optimization is a very broad term referring to optimizing (either minimizing or maximizing) some aspect of a computer system's hardware usage (like the hard disk space used by the system, the CPU and RAM used while running, etc.) or performance or resource usage (like electrical requirements).

Filter by
Sorted by
Tagged with
1 vote
0 answers
221 views

Does booting "persistent live to RAM" achieve the absolute lowest USB flash wear from a Ubuntu Live install with persistence?

Does booting "persistent live to RAM" achieve the absolute lowest USB flash wear from a Ubuntu Live install with persistence, or are there additional tweaks that can be made to reduce flash ...
Don Joe's user avatar
  • 76
0 votes
1 answer
159 views

variance in performance of very simple programs

I've written a very simple C program to demonstrate something I'm seeing with a more complex program that I am trying to optimize. Here's the simple example: #include <stdio.h> #include <...
user256552's user avatar
3 votes
0 answers
189 views

Battery life way shorter in Ubuntu than Windows

I have a Samsung Expert X50 NP350XBE-XH3BR with an Intel Core i7-8565U, iGPU Intel UHD Graphics 620 and a dGPU Nvidia GeForce MX110. My machine comes originally with Windows 10, but I switched to ...
Pedro Duque's user avatar
-3 votes
1 answer
54 views

Optimising Laptop post ubuntu install [duplicate]

How can I check if windows has been completely removed from my laptop and that ubuntu 20.04 is booting from the same hdd and not my SanDisk USB flash?
Nick Mortel's user avatar
0 votes
1 answer
168 views

Optimal RAM use to be made use in compiling

How do we make sure RAM will be made use of as big/much size as possible for caching, etc process for optimization when compiliing C/C++? though ccache is basically installed on Linux, no definitive ...
itil memek cantik's user avatar
0 votes
2 answers
1k views

Ubuntu 20.04 doesn't kill the process that suddenly uses all the RAM, which causes the system to crash?

I am using Ubuntu 20.04, now if i am not mistaking, Ubuntu has a built in feature that kills a process if it suddenly uses all the RAM to stop system crash, i have seen it happen ( for example it ...
OneAndOnly's user avatar
2 votes
1 answer
2k views

How to speed up startup of nmbd?

I'd like to figure out what is taking nmbd so long to start up and fix it. So how can I speed up the startup time of nmbd? Those pesky five seconds look a bit like they could be some timeout of sorts. ...
0xC0000022L's user avatar
  • 5,656
5 votes
1 answer
4k views

Is 'swap off' safe when app is running on production?

My app has several JVMs running in Linux and swap usage is mostly zero. However, sometimes by high traffic or slowness of database, JVMs consume swap memory, which is not recommended. If it happens, ...
Won's user avatar
  • 159
1 vote
0 answers
273 views

Battery Life on Ubuntu sucks

Its been a week since I have installed Ubuntu everything is great except battery life. I have installed TLP and Powertop and disabled nvidia graphics yet battery does not lasts more that 3 hours. On ...
Ayush Rathi's user avatar
0 votes
0 answers
264 views

How to speed up my new 'supposedly' high powered computer

Does anyone have some tips for ways I can optimize/improve the speed of my computer? Just bought a new one, intended for neuroimaging analysis, and i installed ubuntu. I know there's some features of ...
BennyD's user avatar
  • 95
0 votes
1 answer
5k views

Speed optimisation with preload, irqbalance and swappiness

I have a low end modern hardware using Ryzen 3400G, 8GB Ram and SSD Drive. I read online about speeding up responsiveness using preload, irqbalance and swappiness. The computer is mainly used as a ...
Hairy Ass's user avatar
  • 121
1 vote
1 answer
337 views

How to optimize SSD in ubuntu 16.04?

I have installed ubuntu 16.04 on my SSD(Adata Su650 240GB). I wanted to know if there are any tweaks that are needed to be done for the SSD to work properly and increase its lifespan. Note:- During ...
Nehal Choudhury's user avatar
0 votes
0 answers
618 views

Lag using Ubuntu Budgie 18.04 and a strange workaround

I was experiencing a lot of lag using my Ubuntu Budgie 18.04 these days. The lag appeared in all basic operations (ALT + TAB, worksapace changes, programs opening, etc), but mostly when I type. To get ...
André Carvalho's user avatar
0 votes
0 answers
219 views

Why is Wikipedia taking up so much RAM on Ubuntu (with Google Chrome) and how can I reduce it?

My laptop with 16GB of RAM keeps running out of RAM and the top 10 processes chewing up the RAM are always from Google Chrome tabs, some which are using 900MB of RAM: Opening Google Chrome's own task ...
user1271772's user avatar
1 vote
0 answers
1k views

Optimization of Linux (Ubuntu) for RDP

I am building up a pool of virtual machines for remote access via RDP. Currently, I want to stay on Linux side and avoid the need for using any Windows machines. Therefore I tested the latest most ...
David Artmann's user avatar
0 votes
0 answers
4k views

Graphical performance improvement for Intel HD Graphics in 18.04

I own a Lenovo Yoga 710 laptop with Intel Core i5-7200U processor integrated Intel HD Graphics 620 (Kaby Lake GT2). The graphical performance in Ubuntu 18.04 running kernel 4.15.0-33 seems to be a ...
Marius's user avatar
  • 909
0 votes
1 answer
781 views

How to speed up Docker under Ubuntu 16.04

I think my containers in the docker is too slow. Start of 8 containers takes about 10-15 mins. My colleagues use docker under Mac and for the same set of containers it takes a few minutes (2-3 mins) ...
Roman Podlinov's user avatar
0 votes
1 answer
160 views

How can I identify what is causing my laptop to lag?

I got a HP dv7-1133cl with some terrible Windows issues (black screen shortly after starting) and so I installed Ubuntu 16.04 as a learning experience as well as to have my own personal laptop. It ...
Flex's user avatar
  • 21
2 votes
0 answers
754 views

Ubuntu 16.04 a lot of kworker processes

I have an ubuntu 16.04 server with kernel 4.10.0-37-generic. It's metal server, not virtual. There are a number of kworker processes (about 109-115), every kworker consumes CPU (up to 4%). Also I ...
Freemmy's user avatar
  • 21
0 votes
0 answers
1k views

System monitor squashfs full is it normal?

My computer gets very slow after hours of working on it. I am wondering if it's not related to this and how to fix it ? Screenshot below shows system monitor output System monitor showing 5 devices ...
user2080105's user avatar
1 vote
1 answer
64 views

Explanation of a Ram Utilization script

As an answer to question Lots of ram. How to use it?, I saw this script. find /home/user/.config/ /home/user/.gconf/ /home/user/.mozilla/ /usr/share/icons/current_icon_theme/ /usr/share/nautilus/ /...
Edwin Clement's user avatar
8 votes
3 answers
2k views

If I compile Firefox instead of binary install it will work faster? [closed]

Many times I hear that software compiled at my hardware will work faster at my hardware. Can I win 10% of performance of Firefox or Chromium if compile from source?
Vitaly Zdanevich's user avatar
10 votes
4 answers
8k views

How can I reduce the size of a SVG using software on Ubuntu?

I would like to optimize a SVG using software on Ubuntu (and by optimize I mean to reduce the file size without loosing any visible parts of the graphic) and I do mean software I know there are some ...
Josh Pinto's user avatar
  • 7,779
4 votes
1 answer
3k views

Sysvinit alternative of systemd-analyze and systemctl?

I am trying to tweak my system's start time. Usually I go about it by using systemd-analyze blame Which gives me a list of stuff and how long it takes them to start. For this machine I don't need ...
John's user avatar
  • 43
1 vote
0 answers
75 views

A/B testing software

I am looking for A/B testing and optimization software for web-page development in ubuntu. Can I get some software recommendations?
j0h's user avatar
  • 14.6k
0 votes
1 answer
424 views

Steam game does not use all available CPU power

When I quit a Steam game today I noticed on CPU Usage Monitor widget graph that it did not run on 100% CPU load which came as a surprise considering that simply scrolling askubuntu.com in Firefox uses ...
Mark Myle's user avatar
  • 103
0 votes
2 answers
280 views

How to use my 6GB of free ram to optimize ubuntu12.04?

I also want to load faster on boot. If possible, can I shift all temp file hard disk operation to RAM?
shishir singh's user avatar
5 votes
1 answer
10k views

Find and disable unnecessary services in Ubuntu 12.04

I have been presented with a server running Ubuntu 12.04 LTS server edition. This machine was in use earlier for a web application and also has many other applications configured in it. Now, I want ...
Tarun's user avatar
  • 4,187
0 votes
1 answer
938 views

Optimizing Wi-Fi Connectivity

Hello and big thanks to everyone in the askubuntu community who has been more than helpful in the learning process of Linux. I'm Running ubuntu 12.04.3 on a hp g7 (dual booted with windows 7 ...
smokngunslinger's user avatar
0 votes
2 answers
5k views

How to optimize sata hard disk in ubuntu 12.04?

How to optimize sata hard disk - HDD (Not A SSD) in ubuntu 12.04 for better performance. Hard Disk ( HDD ): 500 GB - Not a SSD Ram: 4GB 1GB 1 GB Nvidia Graphic Card Intel Core i5 Second Generation ...
Gaurav Dighe's user avatar
0 votes
1 answer
1k views

Optimizing 12.04 LTS for Matlab R2013a

Good day I would like to know what steps could be taken to optimize Ubuntu 12.04 LTS for running Matlab R2013a (64bit). We have run the same test on the same machine with Windows 7, Windows 2008 ...
Pieter Breedt's user avatar
1 vote
0 answers
24 views

Ubuntu splash Screen is now a gear and boot speed is slow [duplicate]

I installed lxde, gnome, and a whole bunch of other desktop environments the other day, and now while Ubuntu boots, the splash screen is now a gear on a gray background, and boot speeds have gone from ...
cxdf's user avatar
  • 275
0 votes
1 answer
81 views

Use wifi only when necessary

To optimise my laptops battery life I would like to make it so that wifi gets turned on only when there is a process running which needs a network access. For example when browser or transmission is ...
marhis's user avatar
  • 1
10 votes
3 answers
1k views

My boot time has increased by 25% in the past two months. How do I reduce it?

I used to have a boot time of ~35 seconds till 2-3 months back. Now it is about ~50 seconds or more. Shut down time has also doubled. Before it used to be at most 5 seconds. Now it is at-least 10 ...
asheeshr's user avatar
  • 783
2 votes
3 answers
811 views

What distro of ubuntu to choose when I focus on performance? kubuntu? [duplicate]

Possible Duplicate: Lighter in CPU/Memory Usage: Lubuntu or Xubuntu I do have an old laptop. it has 512mb of ram and weak processor. I would like to use it only for internet(www and email). ...
UAdapter's user avatar
  • 17.2k
2 votes
1 answer
10k views

Optimization: RAM cleaning and monitoring

Is there any good tools for ram cleaning-purging? I mean some daemon, that watch on RAM and trying to purge some, if it reached the limit? Thanks!
gaussblurinc's user avatar
1 vote
1 answer
9k views

What does it means: `cgroup_disable=memory` in my `dmesg`?

My dmesg command give me that result in particular: [0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups What does it meanings and how to know what I want around ...
swift's user avatar
  • 3,271
11 votes
2 answers
13k views

Investigate disk writes further to find out which process writes to my SSD

I try to minimize disk writes to my new SSD system drive. I'm stuck with iostat output: ~ > iostat -d 10 /dev/sdb Linux 2.6.32-44-generic (Pluto) 13.11.2012 _i686_ (2 CPU) Device: ...
zuba's user avatar
  • 2,373
1 vote
1 answer
1k views

How can I get the best performance for playing games?

I've been playing a couple of Wine-games today and decided to switch to metacity to see what the performance difference was like. If you've never done it before, you just run metacity --replace but ...
Oli's user avatar
  • 290k
3 votes
2 answers
263 views

How do I tune WordPress to make my site more responsive?

I have a Linode that has Ubuntu loaded and am hosting a WordPress site. I would like to optimize my site so that I no longer get Out of Memory errors like the following: Killed process 16660 (...
Jesse's user avatar
  • 249
2 votes
2 answers
2k views

Slow for no apparent reason [closed]

Ubuntu is becoming slow for no apparent reason. I'd like some help with analysing and fixing this issue. Usually when a system slows down, that's because the software is using too much system ...
RobinJ's user avatar
  • 8,810
1 vote
2 answers
3k views

Optimizing EXT4 performance

I'm using my machine to build stuff a lot and there's a specific directory that gets used very often. I've got 8GB of RAM, which is helpful for the build, but is far from enough to cache the whole ...
Albus Dumbledore's user avatar
2 votes
4 answers
7k views

Why is my fresh install of 12.04 running slow?

Hey guys I'm a new linux user, I figured it would be the best for the laptop I just purchased because it's said to be faster than Windows 7. I'm currently dual-booting with Windows 7 Professial and ...
user75129's user avatar
0 votes
1 answer
2k views

Can Ubuntu use a flash drive to increase performance like ReadyBoost? [duplicate]

Possible Duplicate: Is there any way that an external hard drive can be used to boost performance? This might be a silly question but is there any way to use a flash drive to optimize the memory ...
jamie's user avatar
  • 23
2 votes
1 answer
3k views

Does using both tmpfs and zram make any sense?

I wondered if tmpfs and zram do negatively interfere with each other in any way? After what I've read about it I'm unsure whether there is a positive cumulative effect accomplishable with that ...
FuzzyQ's user avatar
  • 2,328
2 votes
2 answers
1k views

What can I do to improve Ubuntu 10.10 performance on my netbook? [duplicate]

Possible Duplicate: How can I improve overall system performance? I am not new to Linux, but I've never really dug in and am much more proficient with Windows and Mac OS. I've used Ubuntu off ...
Steve Kudelko's user avatar
38 votes
3 answers
26k views

Lowering Compiz memory usage

I have been following the updates that appear every week in how they affect the performance and resource usage of Compiz since I installed 11.10 (Right now I am testing 12.04 and 14.04). For what I ...
Luis Alvarado's user avatar
12 votes
1 answer
3k views

Open Source command line tool for optimizing PDF

Are there any open-source command line tool for optimizing PDF in Ubuntu. I have used Ghost Script and i am able to convert the PDF into 72 dpi, gs -sDEVICE=pdfwrite \ -dCompatibilityLevel=1.4 \ ...
Rakesh's user avatar
  • 1,984
3 votes
3 answers
553 views

Optimizing rarely used server installed in an always up virtual machine

I have a Ubuntu Server installation on VirtualBox since I am a Mac OS X user and I want to launch some Linux-dependent programs on Ubuntu rarely by connecting it via SSH. Therefore I want to make a ...
ahmet alp balkan's user avatar
5 votes
1 answer
1k views

Optimize bootup sequence

I'm on Ubuntu 11.04 (upgraded from 10.10) and suffering really high bootup times. It got so annoying, that I decided to dive into bootchart analysis myself. Therefore I installed bootchart and ...
ubuntudroid's user avatar