f30e
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I wanted my hosting provider to install some more RAM and they pointed out that I need to run FreeBSD 64 bit or PAE. Fearing too many incompatibilities I opted to try PAE as I won't have to recompile a number of specialized servers (that were written years before people dreamed of 64 bit processors...).
So I compiled and updated the system from 8.2-8.3. This booted fine with the GENERIC kernel. I then tried compiling the generic PAE kernel but on boot it panics immediately with kmem_suballoc error 3. The server has only 4GB installed at the moment but they will be installing an additional 4GB of RAM. I am running ZFS. /boot/loader.conf Code:
vm.kmem_size="1536M" vm.kmem_size_max="1536M" vfs.zfs.arc_max="80M" vfs.zfs.vdev.cache.size="10M" vfs.zfs.prefetch_disable=0 accf_http_load="YES" accf_data_load="YES" Last edited by DutchDaemon; May 2nd, 2012 at 01:26. Reason: Proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
|
#2
|
|||
|
|||
|
I've tried dozens of settings and finally found one that allowed it to boot with the PAE kernel.
Code:
vm.kmem_size="512M" vfs.zfs.prefetch_disable=0 accf_http_load="YES" accf_data_load="YES" |
|
#3
|
||||
|
||||
|
Yes, I definitely recommend going 64 bit, especially in combination with ZFS. PAE is more or less a stop-gap. The extra memory won't do you any good either. Applications need to be specifically written to make use of PAE.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#4
|
||||
|
||||
|
Quote:
touch * for each release). It has needed a few tweaks evey now and again, but it still builds and runs.There are some packages that I only have in binary form and which were built for 32-bit FreeBSD (or Linux) which also run fine on amd64. Your biggest issue will probably be testing to ensure that your application still runs properly in the new environment. You'd need to do at least some of that testing when moving to a new FreeBSD version anyway. PAE was a partial interim workaround for systems with more than 4GB. amd64 support has been in FreeBSD for years, and it gets a lot more developer attention than PAE. There are many devices which simply don't work in PAE mode and it is unlikely that PAE support will ever be added to them at this late date. |
|
#5
|
|||
|
|||
|
As above, given the choice between PAE and x64, you'll probably find that x64 is more compatible and certainly likely to be more stable.
__________________
I use: FreeBSD, Mac OS X, Windows, Netapp, Cisco UCS, Cisco CUCM, Cisco IOS, Cisco ASA, vSphere 5.1, Cisco ISE, Orion NPM |
|
#6
|
|||
|
|||
|
Thanks for all the suggestions. I think I'm going to rehearse the in-place amd64 upgrade and then attempt it on the production server. The extra 4GB of RAM is being installed at the moment. Fortunately I have a system here with similar specs so I can practise the conversion. I wish there were an easier conversion procedure.
Last edited by DutchDaemon; May 3rd, 2012 at 23:55. |
|
#7
|
|||
|
|||
|
sys/i386/conf/NOTES:
Quote:
Last edited by DutchDaemon; June 5th, 2012 at 13:38. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can I put thiese option in GENERIC Kernel and compile it | mfaridi | Firewalls | 5 | October 9th, 2011 01:51 |
| Generic kernel, adding/changing options | mfaridi | Installing & Upgrading | 7 | September 30th, 2010 00:01 |
| GENERIC kernel & sources | pippo | Installing & Upgrading | 2 | May 3rd, 2010 21:41 |
| GENERIC kernel | Twister | General | 17 | December 30th, 2009 15:03 |
| default to accept on GENERIC kernel | Ole | Firewalls | 6 | July 3rd, 2009 10:47 |