List Info

Thread: Re: Anyone using Freebsd 6.2 ?




Re: Anyone using Freebsd 6.2 ?
country flaguser name
Sweden
2007-06-21 06:37:29

On Fri, 8 Jun 2007, Dan Mason wrote:

> On Fri, Jun 08, 2007 at 09:46:46AM +0200, Patrick van
Iersel wrote:
>> Interesting. Have you done any specific
kernel/sysctl tuning?
>
> I do have some sysctl stuff, though I added it for
performance, not for
> stability.  I have had heat-related stability issues in
the past on my
> feeders, which each have 5 300GB 10k RPM SCA disks. 
Here is what I do
> on my feeders and spoolers, compliments of Mike Horwath
at Octanews.
>
>  net.inet.ip.intr_queue_maxlen=250
>
>  kern.ipc.maxsockbuf=524288
>
>  net.inet.tcp.sendspace=262144
>  net.inet.tcp.recvspace=262144
>
>  vfs.hirunningspace=10485760
>
>> i386 on 6-STABLE. All Intel. Diablo version is
5-CUR-20060117-00.
>> Dhistory is on gvinum striped disks. Would sure
like to run this on mfs but
>> with the file being around 1G I assume you would
need more than the 3.3G you
>> get. Haven't actually tried this yet though...
>
> All of my spoolers and feeders have 3GB of RAM.  The
feeders have pretty
> small dhistory (300M-500M) but the binary spoolers have
big dhistory files,
> around 1.2GB.  This works fine, but when I rebuild the
file I have to use
> disk.
>
>  /news/dbin/dhisexpire -m -a -o0 /news/memory/dhistory
/news/dhistory.new

Can you describe the steps you use to set up the memory
disk?

I tried to set up this quite a while ago, but always got
into trouble. 
system reboots and stuff.

/Bjorn
_______________________________________________
Diablo-users mailing list
Diablo-usersopenusenet.org
htt
p://www.plig.net/mailman/listinfo/diablo-users

Re: Anyone using Freebsd 6.2 ?
country flaguser name
France
2007-06-21 06:50:23
Le (On) Thu, Jun 21, 2007 at 01:37:29PM +0200, Bjorn
Hellqvist ecrivit (wrote):
> 
> > All of my spoolers and feeders have 3GB of RAM. 
The feeders have pretty
> > small dhistory (300M-500M) but the binary spoolers
have big dhistory files,
> > around 1.2GB.  This works fine, but when I rebuild
the file I have to use
> > disk.
> >
> >  /news/dbin/dhisexpire -m -a -o0
/news/memory/dhistory /news/dhistory.new
> 
> Can you describe the steps you use to set up the memory
disk?
> 
> I tried to set up this quite a while ago, but always
got into trouble. 
> system reboots and stuff.

On FreeBSD 6.x you can use something like this:

md /opt/news/db mfs noatime,async,rw,-S,-s2500m 2 0

In your /etc/fstab.

I use async mount and disable soft updates, because it
doesn't make sense for a
memory file system. This one will be 2.5Gb sized.


On FreeBSD 7.0 tmpfs has just been merged into the tree,
which makes it more
fast, uses less memory (less UFS overhead), and spreads the
load more gracefully
(swap usage is much better, partition is sized according to
phys RAM + swap).

You can use it with this line in your /etc/fstab:

tmpfs /opt/diablo/news/hist tmpfs rw 2 0


Cheers,

-- 
Sameh Ghane
_______________________________________________
Diablo-users mailing list
Diablo-usersopenusenet.org
htt
p://www.plig.net/mailman/listinfo/diablo-users

Re: Anyone using Freebsd 6.2 ?
country flaguser name
United States
2007-06-21 08:09:29
> > I do have some sysctl stuff, though I added it for
performance, not for
> > stability.  I have had heat-related stability
issues in the past on my
> > feeders, which each have 5 300GB 10k RPM SCA
disks.  Here is what I do
> > on my feeders and spoolers, compliments of Mike
Horwath at Octanews.
> >
> >  net.inet.ip.intr_queue_maxlen=250
> >
> >  kern.ipc.maxsockbuf=524288
> >
> >  net.inet.tcp.sendspace=262144
> >  net.inet.tcp.recvspace=262144
> >
> >  vfs.hirunningspace=10485760

These are all good suggestions, though it is better to NOT
mess with
sendspace and recvspace here unless RAM is cheap.

You can tune TCP connection settings within the application
and make 
sure that memory is conserved.

... JG
-- 
Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net
"We call it the 'one bite at the apple' rule. Give me
one chance [and] then I
won't contact you again." - Direct Marketing Ass'n
position on e-mail spam(CNN)
With 24 million small businesses in the US alone, that's way
too many apples.
_______________________________________________
Diablo-users mailing list
Diablo-usersopenusenet.org
htt
p://www.plig.net/mailman/listinfo/diablo-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )