No video

Linux Talk | Linux Memory Management

  Рет қаралды 46,802

Joe Collins

Joe Collins

Күн бұрын

Пікірлер: 51
@philmulley59
@philmulley59 8 жыл бұрын
Great piece, Joe. I have an old Dell machine that I use as a Squeezebox media servier amongst other things. Its always worked well but it is very leaky in terms of memory usage. I heard your comment about the command to "reclaim" memory being potentitally useful for media servers so I set this up as a Cron job and its really done the business. Thanks again.
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Phil Mulley Cool. Glad to hear it helped. :)
@JorgeEscobarMX
@JorgeEscobarMX 8 жыл бұрын
Almost done watching the video, added to "watch later" playlist. Very interesting RAM monitoring programs, and they are already installed. Thanks a lot for this video. Keep up the good work.
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Ricardo Escobar Thank you. :)
7 жыл бұрын
Though I never suspend/hibernate, I have 16GB RAM and don't have a swap partition and Linux has been working all fine since years.
@spencerreppe7558
@spencerreppe7558 4 жыл бұрын
Thank you, I forgot that as SSDs write and read it wears out their cells.
@funkydunky1671
@funkydunky1671 7 жыл бұрын
good voice. it is a pleasure to listen to. keep up the good work!
@motim92
@motim92 8 жыл бұрын
SSDs have quite the endurance, I would not worry about it. 700-2000TB written per 250gb SSD is about the endurance you can expect from an SSD.
@naveenkumar-kw2ch
@naveenkumar-kw2ch 2 жыл бұрын
Buffer occupying more in Db server is any solution to improve stability.
@zdw123
@zdw123 8 жыл бұрын
Really appreciated, I have learned something about Linux memory management from this video.
@gleventhal
@gleventhal 5 жыл бұрын
You should mention what the alternative to swapping is, it doesn't just "not swap" with a lower swappiness, it will choose to drop pages from the page file instead of swapping, which could potentially be worse performance if your workload is constantly needing to read and write from files on the filesystem and less so accessing anonymous pages .
@EzeeLinux
@EzeeLinux 5 жыл бұрын
Yep. I don't even mess with this anymore and leave it set to the defaults. It's a trade off either way. :)
@utubeuser907
@utubeuser907 3 жыл бұрын
nice video... cache that was mentioned to drop... that is the page cache stored in RAM.. and has nothing to do with cpu cache... just to make it clear for others who are watching this..
@abhabh6896
@abhabh6896 3 жыл бұрын
I type the long code over and over, doesnt even ask me for password, doesnt do anything.
6 жыл бұрын
How come SimpleScreenRecorder is running at 67% CPU but is noted as "S" (sleeping) ?
@hannesthiersen8170
@hannesthiersen8170 5 жыл бұрын
Hey Joe. You're contradicting yourself when talking about swappiness. You're saying that if the value is 60 the system starts swapping when 60% of the memory is used, but then setting the swappiness value to 15 would mean the system starts to swap when 15% is used according to this logic. After you've set the value to 15 you state that it will start swapping when 85% of memory is used which contradicts the previous statement.
@EzeeLinux
@EzeeLinux 5 жыл бұрын
Sorry if I didn't make it clear enough. Swappiness is less likely the lower the number is. :)
@Toimi
@Toimi 7 жыл бұрын
the watch command is awesome :o why did i not know about this?
@PoeLemic
@PoeLemic 4 жыл бұрын
Very good and helpful video. New to channel, but love how you are teaching. I am really benefitting.
@RamiJaloudi
@RamiJaloudi 6 жыл бұрын
Very informative, thanks!
@diablominero
@diablominero 5 жыл бұрын
What happens if I set my swappiness to 1? Does that block most non-essential swap operations while still letting system crashes write to it?
@EzeeLinux
@EzeeLinux 5 жыл бұрын
Something like that. It's not exact. If you want to limit it 10 is about the lowest you should go. :)
@misium
@misium 7 жыл бұрын
Seriously, give me a good reason to ever manually clear the caches.
@cthedosboss5113
@cthedosboss5113 6 жыл бұрын
he just gave u one
@miketh1234
@miketh1234 6 жыл бұрын
How would you use ssh to run the second script?
@mtpolak
@mtpolak 3 жыл бұрын
Let me share a tip for "clear the console": try to use Ctrl+L learned few days ago after years of using clear command :'-\
@alekssandroassisbarbosa3749
@alekssandroassisbarbosa3749 5 жыл бұрын
Isn't that oppose on SSD? I mean, why isn't that less damageable?
@mcalnd
@mcalnd 8 жыл бұрын
Great video, just what I was looking for - thanks
@DrayseSchneider
@DrayseSchneider 8 жыл бұрын
Isn't the "sh" shell they bourne shell? Where bash is the bourne again shell?
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Steven Schneider Yep. :)
@sattish99
@sattish99 4 жыл бұрын
Very useful and informative
@Silverballer48c
@Silverballer48c 3 жыл бұрын
Are you from Colorado ? Im trying to place the accent
@gjj8351
@gjj8351 6 жыл бұрын
You didn't answer the question you spoke about in the beginning
@23angelful
@23angelful 8 жыл бұрын
Very informative video,excellent.
@DonutDeflector
@DonutDeflector 8 жыл бұрын
Hey Joe, what settings do you use for SSR on that computer?
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Donut Deflector I pretty much leave it at the defaults other than to choose what microphone to use. It works just fine. :)
@DonutDeflector
@DonutDeflector 8 жыл бұрын
Joe Collins Thanks!
@thadguy271
@thadguy271 8 жыл бұрын
great info, very insightful...I think you could benefit from using the ctrl-c and ctrl-v commands when copying and pasting, just a thought
@stevew270
@stevew270 6 жыл бұрын
Haven't used swap for over a year, no issues at all.
@cr74life96
@cr74life96 6 жыл бұрын
You someday would need it and then you would wish you had a swap. OS really in bad situation when it runs out of memory and there's not swap.
@RussTeeTrombone
@RussTeeTrombone 5 жыл бұрын
Awesome video. Cheers!
@farieddebruyns338
@farieddebruyns338 5 жыл бұрын
Very good teacher
@Arunkumarpuskur
@Arunkumarpuskur 6 жыл бұрын
Awesome bro. Thanks
@tinicum54
@tinicum54 6 жыл бұрын
Sort of off topic. Imagine Joe trying to stream this on that machine with win10.
@farieddebruyns338
@farieddebruyns338 5 жыл бұрын
Thank you.
@scottvigerlinux
@scottvigerlinux 8 жыл бұрын
cron kron crawn ? how do we write it pls (;
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+scott viger It's cron. help.ubuntu.com/community/CronHowto
@scottvigerlinux
@scottvigerlinux 8 жыл бұрын
thanks
@djsensacion7
@djsensacion7 8 жыл бұрын
+Joe Collins I hope you have a video on cron jobs and how to set it up soon ! Thank you !
@EzeeLinux
@EzeeLinux 8 жыл бұрын
+Miguel Sensacion Just posted one... :)
@WMRamadan
@WMRamadan 6 жыл бұрын
Honestly Linux has the worst memory management I have ever seen. On the other hand Mac OS has the best memory management I have ever seen!
Linux Tip | How To Automate Tasks using Cron
38:44
Joe Collins
Рет қаралды 49 М.
Linux Internals: Memory Management
37:56
DJ Ware
Рет қаралды 29 М.
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 13 МЛН
I Took a LUNCHBAR OFF A Poster 🤯 #shorts
00:17
Wian
Рет қаралды 15 МЛН
Linux Crash Course - Understanding Memory and Swap Usage
20:55
Learn Linux TV
Рет қаралды 45 М.
Linux Talk | Working with Drives and Filesystems
46:58
Joe Collins
Рет қаралды 18 М.
Linux Tip | 10 Useful Linux Commands
34:35
Joe Collins
Рет қаралды 662 М.
Optimizing Linux memory usage [linux.conf.au 2014]
15:32
Konstantin Bläsi
Рет қаралды 17 М.
But, what is Virtual Memory?
20:11
Tech With Nikola
Рет қаралды 267 М.
Useful Linux Applications | What You'll Need To Get Things Done
34:33
Linux Memory Management - VMScan | DEEP LINUX
37:17
Deep Linux
Рет қаралды 7 М.
Linux Tip | How to use Htop
14:00
Joe Collins
Рет қаралды 75 М.
Introduction to Memory Management in Linux
51:19
The Linux Foundation
Рет қаралды 173 М.
The Making of Linux: The World's First Open-Source Operating System
11:33
ForrestKnight
Рет қаралды 1,2 МЛН
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 13 МЛН