NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Terrible system slowness



On Mon, Mar 23, 2020 at 10:08:27PM -0400, Todd Gruhn wrote:
> I decided to get back to running NetBSD on a new computer with a spare
> drive:
> 
> Just now I ran /bin/ksh configure for lesstif. The configure operation
> alone too 45min.
> (WHY!?) I have 64GB RAM, and a 1TB SATA harddrive.
> 
> I redid the install this time using cylinders. Swap is 39000 cyl. According
> to
> swapctl -g -s this is 298GB (UGHH!) is there a nice way to trim the swap
> partition?
> 
> ALSO, is there a point where adding swap to a mechanical HD becomes a
> liability?
> 
> Has anyone messed with swap on a RAMDISK? I have 64GB RAM -- thats part of
> the
> idea for so much RAM. How would I carve out a 32GB RAMDISK and make that
> the swap
> device? The idea being that a RAM-to-RAM transfer is about 10,000x as fast
> as a
> RAM-to-mechanical-disk transfer?
> 
> Any advice/ideas will be greatly appreciated. If  it matters, I am running
> NetBSD-9.99.x.

Lots of changes happened in the last few weeks in kernel land, so the 'x'
here is important. If not already the case, install the most recent
-current.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index