Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 1996 21:21:44 +0400
From:      Victor Anisimov <vam@kon.icp.ac.ru>
To:        hackers@freebsd.org
Subject:   Problems with swaping
Message-ID:  <199606041721.VAA02138@kon.icp.ac.ru>

next in thread | raw e-mail | index | archive | help
Hi everybody,

I'm a computational chemist and use FreeBSD as a best PCs
UNIX for scientific computations.
Very recently I've collected a very strange problem with 
swapping on my i486DX2/66 with 8Mb RAM, VLB IDE controller 
and two Samsung HDDs and FreeBSD 2.1.0.  I have a lot of 
free swap space on my PC:

Device      1K-blocks     Used    Avail Capacity  Type
/dev/wd0s1b    100000     3712    96224     4%    Interleaved
/dev/wd1b      830088     3728   826296     0%    Interleaved
Total          929960     7440   922520     1%

but any one program can't allocate maximum 45Mb of virtual space 
as ps axu reports. On request of more than mentioned memory 
I get an error message "Can't allocate memory". All of the
programs written on Fortran and C. One use static Fortran memory
allocation, the other use C's dynamic allocation. Both of
them show mentioned high limit on memory allocation.
The same problem I have with Pentium-133 24Mb RAM, NEC SCSI 
adaptor, 1Gb Seagate HDD, i.e. there is a lot of free swap space 
and error on memory allocation with the same high limit.

Can someone, FreeBSD vizard, give me some hints what should I do. 
If you have any commentsor suggestions, please, reply directly to me,
because I'm not on mailing list.

Thanks,
Victor.
vam@kon.icp.ac.ru

P.S.
Here is my kernel confyguration:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.46.2.6 1995/10/25 17:29:51 jkh Exp $
#

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		GENERIC
maxusers	10

options		GPL_MATH_EMULATE	#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

options		GATEWAY
options		"NSWAPDEV=3"
options		"CHILD_MAX=128"
options		"OPEN_MAX=128"

config		kernel	root on wd0 dumps on wd0

controller	isa0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	wdc0	at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr


device ed0 at isa? port 0x320 net irq  11 iomem 0xd0000 vector edintr
device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device   vn      2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606041721.VAA02138>