Posts: 5
ytszazu
Joined: 25 Jun 2017
#1
Hello there, I just installed Anti-X.

Kindly help me with the questions below:

1) Referring the ram pictures below, I got 3.7 gb ram in lubuntu but 3 gb ram in Anti-X, why and how to solve this?

2) As this is an installation to USB flash drive, I have concerns of USB flash drive life:
Refer my fstab picture below, I have noatime and a few temp folders loaded to RAM.
Am i doing it right?
And how do I check noatime works and folders did loaded to RAM?
And how to reduce write to disk even further?

3) On the conky on the right, for disk usage, how do I edit to get write / read kilobytes to drive? I don't see the command in edit system monitor.

System specs:

1) Installed Anti-X16.2 32 bit to a USB 2.0 pendrive.
2) AMD K42N, 4GB DDR 3 Ram

Thank you in advance,

Regards,

ytszazu


ImageImageImage
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#2
google didn't help me to understand"what is AMD K42N". Search results all showed ASUS...

1) To use more than 3Gb RAM with 32-bit kernel, you will need a kernel compiled with support for PAE (physical address extension).
Hopefully someone else will followup to suggest which exact linux kernel to install.

2) By default (without any manual fiddling) mount option"noatime" is specified. Yeah, evident in your fstab screenshot,"it's working".

"how to reduce write to disk even further?"
If using liveboot persistence, choose dynamic persistence mode (root_persist).
Beyond that, I can't suggest anything which would significantly reduce drive I/O. If someone else can suggest, I'm all ears.

3)"conky [...] I don't see the command in edit system monitor."
google search first page of search results, I found this working example for diskio:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://doc.nethence.com/desktop/conky.html"
linktext was:"http://doc.nethence.com/desktop/conky.html"
====================================
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#3
1. pae 32 bit kernels available in the meta-packageinstaller (control-centre-system). Install the 4.4.10 version.
Posts: 5
ytszazu
Joined: 25 Jun 2017
#4
1. I put the noatime and tmpfs in the fstab file myself. (Internet searching)
- Being a beginner, I do not know if i have typed them in correctly or not.
- And if i have typed it in properly, how do I know it's working in the system?

2. Sorry, it is an Asus K42N.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#5
here you can see the code which performs the liveboot init:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/antiX-Linux/Xlated-initrd/blob/master/init#L2623"
linktext was:"https://github.com/antiX-Linux/Xlated-i ... init#L2623"
====================================

(search in page for LAZYTIME and noatime)
Do you now see? noatime is specified, as well as lazytime (unless you supply 'nolazy' bootline cheatcode)

related reading:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/fstab"
linktext was:"https://wiki.archlinux.org/index.php/fstab"
====================================

^---- explains `mount` command (how you can"know if i have typed them in correctly" and"are they working")

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://unix.stackexchange.com/questions/276858/why-is-ext4-filesystem-mounted-with-both-relatime-and-lazytime"
linktext was:"https://unix.stackexchange.com/question ... d-lazytime"
====================================
Posts: 125
poorguy
Joined: 11 May 2016
#6
You may already have this but here it is.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.asus.com/Laptops/K42N/"
linktext was:"https://www.asus.com/Laptops/K42N/"
====================================


The PoorGuy
Last edited by poorguy on 02 Aug 2017, 20:40, edited 1 time in total.
Posts: 521
Shay
Joined: 20 Apr 2015
#7
The answer is that most kernels map both user- and kernel-space into a flat address space, so that while the sum total is 4GB, the amount allocated to each is <4GB. For example, with Linux on x86-32, user-space is given the lower 3GB of the 32-bit address space, while the kernel is mapped into the upper 1GB of address space. In Windows, the split is 50/50: 2GB for user-space and 2GB for kernel-space.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.quora.com/Why-do-32-bit-Linux-kernels-only-recognize-3GB-of-RAM"
linktext was:"https://www.quora.com/Why-do-32-bit-Lin ... 3GB-of-RAM"
====================================
Posts: 5
ytszazu
Joined: 25 Jun 2017
#8
Update:

1) Had a great day learning about 64-bit and pae. Decided to install 64-bit and that settled the RAM issue. RAM usage in 64-bit is more through.

2) Thanks Skiddo for the conky references.