On 2010/12/14 at 20:32, Tomas Bodzar <tomas.bod...@gmail.com> wrote:
>
> On Tue, Dec 14, 2010 at 1:03 PM, Denise H. G. <darc...@gmail.com> wrote:
>> On 2010/12/14 at 02:45, Jeff Ross <jr...@openvistas.net> wrote:
>>>
>>> On 12/13/10 09:52, Nick Jones wrote:
>>>> On Mon, 13 Dec 2010 at 22:55:59 +0800, Denise H. G. wrote:
>>>>>> FWIW, I'm running -current with BIGMEM enabled on my X200 and it's
>>>>>> running fine.  I've attached the output of dmesg and pcidump -v for
>>>>>> reference.
>>>>>>
>>>>>> Kernel is generic otherwise, just renamed.
>>>>>>
>>>>>
>>>>> Great! Did you recompile your kernel? Or just modified your kernel by
>>>>> using config(8) ? I am rather new to OpenBSD...
>>>>
>>>> You need to amend:
>>>>
>>>> /usr/src/sys/arch/amd64/amd64/machdep.c
>>>>
>>>> And change the relevant line (1183 in the -current source I checked out
>>>> yesterday) so that it says:
>>>>
>>>> int bigmem = 1;
>>>>
>>>> Then recompile your kernel as per the FAQ, reboot, and cross your
fingers.
>>>> Report your success (or failure) here.
>>>>
>>>
>>> Be aware that you are treading on unproven and unsupported ground, and
>>> the devs are not interested in hearing about bigmem related problems.
>>>
>>> Here is a PR I submitted not to long ago that was immediately closed
>>> because it was based on a bigmem kernel:
>>>
>>> http://cvs.openbsd.org/cgi-bin/query-pr-wrapper?full=yes&numbers=6453
>>
>> Thanks.
>>
>> I've switched to FreeBSD for my desktop with 4G memory...
>
> Unnecessary fear :
>
> $ sysctl kern.version
> kern.version=OpenBSD 4.8-current (GENERIC.MP) #547: Tue Dec  7 23:16:34 MST
2010
>     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
>
> $
>
> load averages:  0.76,  1.14,  1.06
>
>
>                                  hostname 13:27:52
> 49 processes:  1 running, 45 idle, 1 zombie, 2 on processor
> CPU0 states:  2.0% user,  0.0% nice,  1.6% system,  0.0% interrupt, 96.4%
idle
> CPU1 states:  3.8% user,  0.0% nice,  1.2% system,  0.0% interrupt, 95.0%
idle
> Memory: Real: 321M/610M act/tot  Free: 2651M  Swap: 0K/8189M used/tot
>
> $ dmesg | grep mem
> RTC BIOS diagnostic error 11<memory_size>
> real mem  = 3487125504 (3325MB)
> avail mem = 3420016640 (3261MB)
> spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
> spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
> kqemu: kqemu version 0x00010300 loaded, max locked mem=1702696kB
> $
>
> My computer is more then 90% of time idle (regarding CPU) and my memory
> (even with bufcachepercent=40) is all the time more then 400MB free even
that
> I'm using a LOT of apps at same time including two or three VM's in Qemu.
>

Thanks! Then I have to learn now how to build a custom kernel on
OpenBSD, which is the first time for me:)

>
> $ vmstat 1 10
>  procs    memory       page                    disks    traps          cpu
>  r b w    avm     fre  flt  re  pi  po  fr  sr sd0 cd0  int   sys   cs us sy
id
>  1 0 0 329432 2714044  762   0   0   0   0   0   6   0   47 14706  775  8  3
89
>  1 0 0 329544 2713900   67   0   0   0   0   0   0   0   35  3206  455  3  0
97
>  1 0 0 329544 2713900   23   0   0   0   0   0   0   0   10  2412  319  0  0
100
>  1 0 0 329544 2713900   33   0   0   0   0   0   0   0    3  2386  305  0  0
100
>  1 0 0 329464 2713980  527   0   0   0   0   0   0   0    4  2568  313  6  0
94
>  2 0 0 329464 2713980   58   0   0   0   0   0   0   0    3  2562  327  1  0
99
>  0 0 0 329464 2713980   23   0   0   0   0   0   0   0   47  2907  404  1  0
99
>  1 0 0 329452 2713992   30   0   0   0   0   0   0   0   58  4672  451  2  0
98
>  1 0 0 329636 2713808 1021   0   0   0   0   0   0   0   69  7632  465  5  4
91
>  1 0 0 329644 2713800  523   0   0   0   0   0   0   0    3  2504  308  5  0
95
> $
>
>




--
If reproducibility may be a problem conduct the
test only once.

Reply via email to