Re: mdconfig using malloc()

2007-07-02 Thread Pieter de Goeje
On Friday 29 June 2007, Shawn O'Connor wrote: > On Jun 28, 2007, at 4:41 PM, Pieter de Goeje wrote: > > On Thursday 28 June 2007, Shawn O'Connor wrote: > >> Guys, > >> > >> I'm trying to do the following: > >> > >> mdconfig -a -t malloc -o reserve -s 2g > > > > You really don't want to do this. mdc

Re: mdconfig using malloc()

2007-06-29 Thread Nikos Vassiliadis
On Friday 29 June 2007 03:01, Shawn O'Connor wrote: > >> I saw some old post advocated using -t swap instead, saying that swap > >> probably wouldn't be used until real memory was consumed. But, on my > >> 6.2 machine that immediately raises the swap usage to 2GB and does > >> use disk instead of R

Re: mdconfig using malloc()

2007-06-28 Thread Shawn O'Connor
On Jun 28, 2007, at 4:41 PM, Pieter de Goeje wrote: On Thursday 28 June 2007, Shawn O'Connor wrote: Guys, I'm trying to do the following: mdconfig -a -t malloc -o reserve -s 2g You really don't want to do this. mdconfig will try to allocate 2G of wired memory, which will obviously fail, be

Re: mdconfig using malloc()

2007-06-28 Thread Pieter de Goeje
On Thursday 28 June 2007, Shawn O'Connor wrote: > Guys, > > I'm trying to do the following: > > mdconfig -a -t malloc -o reserve -s 2g You really don't want to do this. mdconfig will try to allocate 2G of wired memory, which will obviously fail, because you really don't have that much kernel memo

mdconfig using malloc()

2007-06-28 Thread Shawn O'Connor
Guys, I'm trying to do the following: mdconfig -a -t malloc -o reserve -s 2g Which fails saying it can't: mdconfig: ioctl(/dev/mdctl): Cannot allocate memory I saw some old post advocated using -t swap instead, saying that swap probably wouldn't be used until real memory was consumed. But,