Page 5 of 5

Re: Testing KLV-vmHost, Designed for Hosting VM's

Posted: Sun Jan 26, 2025 3:27 am
by JusGellin
Clarity wrote: Sat Jan 25, 2025 9:26 pm

@JusGellin open terminal and run 2 commands: free command and BTOP. Clues?

My personal experience might help as its simple.
I, personally, do this for every PC or VM for last 3.5 decades: create a SWAP partition that is the size of machine's RAM. Almost every forum distro will setup and use it at every boot; if it discovers a partition present, automatically.

Many years ago, performance testing showed that SWAP partition was slightly faster than using swap-file.

In VMs, the qcow is partitioned for a SWAP partition (at size of virtual machine's RAM) and a Persistence partition. Thus my VMs tend to mimic the real (host) PC's system drive.

I use this instead of using a ZRAM approach because it does not use RAM for swapping. BUT, I also recognize that ZRAM offers a performance benefit as it is RAM based.

For using a file for swap, merely google 'swap file creation in linux terminal'

Hope that helps to arrive at a simple organizational layout.

Once I got it working(SWAP partition), it works well on a low memory laptop that has just 4G memory.

Thanks for your tips on this.


Re: Testing KLV-vmHost, Designed for Hosting VM's

Posted: Mon Jan 27, 2025 3:00 am
by Clarity

@rockedge may be needed to verify. I am not in a position to test at this point as I am away from my home test PCs.

THANKS, for pointing this missing operations out, as I will pay more attention specific to this in my future tests.

On this laptop (BKWP64 v1009 via its ISO file boot) this is what it sees OOTB. I have seen this so much in the past, that I rarely review during testing.

Code: Select all

# swapon -s
Filename				Type		Size		Used		Priority
/dev/sda6                               partition	8397820		5257252		-2

FYI


Re: Testing KLV-vmHost, Designed for Hosting VM's

Posted: Wed Jan 29, 2025 1:32 am
by JusGellin

How can I change the time zone?
Just from a command would be fine since it is needed only for the initial installation.

Thanks


Re: Testing KLV-vmHost, Designed for Hosting VM's

Posted: Wed Jan 29, 2025 2:33 am
by rockedge

@JusGellin

create a symlink:

Code: Select all

ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

Or open /etc/rc.conf and modify line 20 and un-comment:

Code: Select all

TIMEZONE=America/New_York

Use your own timezone. First method is recommended.


Re: Testing KLV-vmHost, Designed for Hosting VM's

Posted: Wed Jan 29, 2025 3:36 am
by JusGellin
rockedge wrote: Wed Jan 29, 2025 2:33 am

@JusGellin

create a symlink:

Code: Select all

ln -s /usr/share/zoneinfo/America/New_York /etc/localtime

This is the one I used. It works :thumbup:

Thanks


Re: Testing KLV-vmHost, Designed for Hosting VM's

Posted: Thu Jan 30, 2025 10:41 am
by JusGellin

Now that I know to turn the swap on, I noticed that it makes its own swap automatically without making a special partition for it.
Is this the case for all KL's?

Thanks


Re: Testing KLV-vmHost, Designed for Hosting VM's

Posted: Thu Jan 30, 2025 1:41 pm
by rockedge

Yes.
I usually will make a swap partition that gets detected and used.