LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-10-2018, 08:32 PM   #1
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Rep: Reputation: 10
lagging/freezing in 18.3x "live"


Evening:

I'm running 18.3x "live" and have an undue amount of lagging. As I expect some slowness when "live", this amount of lagging is unacceptable. Ran around the web a bit and this site caught my attention: https://www.howtoforge.com/tutorial/linux-swappiness/ I've not tried it for I'm not certain about it. CAN you reset swappiness in "live" and is this set of commands proper for LM 18.3? HEY, anyone familiar with running Linux distros live that could lend some advice?
TNX:
Rick
 
Old 05-10-2018, 08:47 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Of course you can - just the /proc "file" though. I doubt very much it will help; that article is about 20% correct. From a terminal runs this and post the output.
Code:
free -m
 
Old 05-10-2018, 08:53 PM   #3
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
RE: sygOO

free -m
total used free shared buff/cache available
Mem: 7866 1539 4276 143 2051 5854
Swap: 0 0

Ahm....correct me if I'm wrong but,shouldn't there be some "swap"? And if so, then have I found the lagging problem?

Last edited by 69Rixter; 05-10-2018 at 08:56 PM. Reason: more info
 
Old 05-10-2018, 09:19 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
No.
With 8G of RAM and not much happening, swap wouldn't get used even if you did have some. Your issue lies elsewhere - my bet would be drivers. Run this (give it 10 seconds or so) and post using [code] tags.
Code:
top  -b -n 2 | grep -E "^top" -A15
 
Old 05-10-2018, 09:34 PM   #5
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
RE: sygOO

I apologize; couldn't find Code: indicator (box)

top -b -n 2 | grep -E "^top" -A15
top - 22:27:58 up 2:51, 1 user, load average: 4.71, 4.98, 5.30
Tasks: 198 total, 1 running, 197 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4.0 us, 0.8 sy, 0.0 ni, 73.1 id, 22.0 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 8055388 total, 3462796 free, 1772512 used, 2820080 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 5760480 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4279 mint 20 0 2526104 547776 165812 S 37.5 6.8 5:10.26 Web Content
2866 mint 20 0 2676128 535700 172224 S 6.2 6.7 7:19.44 firefox
24852 mint 20 0 41800 3800 3208 R 6.2 0.0 0:00.02 top
1 root 20 0 185652 6336 4052 S 0.0 0.1 0:04.46 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
4 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kworker/0:+
6 root 20 0 0 0 0 S 0.0 0.0 0:00.13 ksoftirqd/0
7 root 20 0 0 0 0 S 0.0 0.0 0:05.45 rcu_sched
8 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_bh
--
top - 22:28:01 up 2:51, 1 user, load average: 4.71, 4.98, 5.30
Tasks: 198 total, 1 running, 197 sleeping, 0 stopped, 0 zombie
%Cpu(s): 10.8 us, 1.3 sy, 0.0 ni, 40.1 id, 47.7 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 8055388 total, 3466952 free, 1768220 used, 2820216 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 5764772 avail Mem
 
Old 05-10-2018, 11:07 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
The "#" button in the "Go Advanced" button below for [code] tags.

Looks like something is doing an awful lot of I/O. Run this - but wait until the prompt returns before grabbing the output.
Code:
top -b -n 1 | awk '{if (NR <=7) print; else if ($8 ~ /[RD]/) {print; count++} } END {print "Total: "count}'
 
Old 05-11-2018, 11:26 AM   #7
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
Afternoon: sygOO

Code:
 top -b -n 1 | awk '{if (NR <=7) print; else if ($8 ~ /[RD]/) {print; count++} } END {print "Total: "count}'
top - 12:23:36 up 13 min,  1 user,  load average: 1.82, 3.24, 1.99
Tasks: 187 total,   1 running, 186 sleeping,   0 stopped,   0 zombie
%Cpu(s):  1.3 us,  0.6 sy,  0.0 ni, 59.4 id, 38.7 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  8079568 total,  5956356 free,   580996 used,  1542216 buff/cache
KiB Swap:        0 total,        0 free,        0 used.  7091608 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 3511 mint      20   0   41824   3740   3164 R   6.2  0.0   0:00.01 top
  332 root      20   0       0      0      0 D   0.0  0.0   0:00.45 usb-storage
Total: 2
Appreciate your time and expertise!!!
 
Old 05-12-2018, 01:49 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Can't spot anything obvious - you're not using USB 1 slot by any chance ?.
Which desktop ?. On older kit I prefer Mate, but that shouldn't be driving I/O.
 
Old 05-12-2018, 01:01 PM   #9
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
Thumbs up

RE: sygOO

"you're not using USB 1 slot by any chance ?." I'm guessing you mean the designation of 1.-2.-3.0 as in USB port speed? If so, the drive is in the 3.0(blue) port. Desktop: LM18.3Xfce(live) Hmm... well..... is there anywhere else that I could post this issue that may be able to help? Thanx for your time and effort, syg00!!
 
Old 05-13-2018, 01:15 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
sometimes usb 3.0 does not work as expected on Linux.
i don't know how to check, however.
i'm sure you can come up with some meaningful search terms and report your findings.

also afaics, both the port AND the stick have to be 3.0, for it to have 3.0 speeds.
 
Old 03-16-2019, 02:32 PM   #11
69Rixter
Member
 
Registered: Jan 2014
Location: central Ohio
Distribution: BionicPup 8 & LM 19.1X
Posts: 320

Original Poster
Rep: Reputation: 10
RE: ondoho

"sometimes usb 3.0 does not work as expected on Linux." Could you explain? Thank You...yes, I'm aware of 3.0 needing to be in 3.0 USB port to run @ 3.0 speed....that a 2.0 in a 3.0 USB port will only run @ 2.0 speed.

TNX
 
  


Reply

Tags
lagging, mint-18



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian "Jessie" live distro "No graphics accelerator"message Dynosaw3 Linux - Newbie 8 03-05-2016 01:12 AM
LXer: "Minimal Linux Live" version "25-Aug-2014" has been released LXer Syndicated Linux News 0 08-24-2014 08:01 AM
Webpages "lagging" when first opened (Opera and Firefox) kiwi_MTBer Fedora 3 05-11-2009 08:37 AM
Radeon 9200 SE freezing with "BusType" "AGP" Makanaki Linux - Hardware 8 04-14-2004 04:15 PM
Does "ac97 & RH8" imply "buy a Sound Blaster Live"? nicktoop Linux - Hardware 3 02-13-2004 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration