Testing KLV-vmHost, Designed for Hosting VM's

Moderator: Forum moderators

JusGellin
Posts: 754
Joined: Fri Jan 19, 2024 11:12 pm
Has thanked: 90 times
Been thanked: 92 times

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

Post 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.

Clarity
Posts: 4066
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1704 times
Been thanked: 553 times

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

Post 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

JusGellin
Posts: 754
Joined: Fri Jan 19, 2024 11:12 pm
Has thanked: 90 times
Been thanked: 92 times

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

Post 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

User avatar
rockedge
Site Admin
Posts: 6817
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2968 times
Been thanked: 2790 times
Contact:

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

Post 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.

JusGellin
Posts: 754
Joined: Fri Jan 19, 2024 11:12 pm
Has thanked: 90 times
Been thanked: 92 times

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

Post 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

JusGellin
Posts: 754
Joined: Fri Jan 19, 2024 11:12 pm
Has thanked: 90 times
Been thanked: 92 times

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

Post 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

User avatar
rockedge
Site Admin
Posts: 6817
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2968 times
Been thanked: 2790 times
Contact:

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

Post by rockedge »

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

Post Reply

Return to “KL-Dev_Work”