Re: Posix locks - Patch works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List,

Am 05.02.2010 14:41, schrieb Samuel Hassine:
> Hi all,
> 
> I just patched the GlusterFS Source code with
> http://patches.gluster.com/patch/2716/ .
> 
> For PHP Sessions, the problem is solved, it works with the locks
> translator.
> For internal server errors on a huge trafic, same thing, no problem
> anymore.
> 
> Thanks a lot. We will send you other feedbacks for the same
> infrastructure (huge trafic) but with a distributed-replicated
> GlusterFS.
> 

I can't confirm that this works - we still have the problems with hanging
sessions with latest glusterfs from git (cloned today) - is the patch already
applied to current git?

Kernel: 2.6.31.12 vanilla

Our config looks like this:

server:
volume posix-testbed
  type storage/posix
  option directory /export
end-volume

volume locks-testbed
  type features/locks
  subvolumes posix-testbed
end-volume

volume iothreads-testbed
  type performance/io-threads
  option thread-count 16 # default is 16
  subvolumes locks-testbed
end-volume

volume writebehind-testbed
  type performance/write-behind
  option cache-size 1000MB
  option flush-behind off

  subvolumes iothreads-testbed
end-volume

volume testbed
  type performance/io-cache
  option cache-size 1024MB
  subvolumes writebehind-testbed
end-volume

volume server
  type protocol/server
  option transport-type tcp
  option transport.socket.nodelay on
  option auth.login.testbed.allow testbed # seperated by comma
  option auth.login.testbed.password ################
  option transport.socket.bind-address 188.65.#######
  subvolumes testbed
end-volume

client:

volume remote1
  type protocol/client
  option transport-type tcp
  option remote-host node1
  option remote-subvolume testbed
  option username testbed
  option password sdhf8hxi34
end-volume

volume remote2
  type protocol/client
  option transport-type tcp
  option remote-host node2
  option remote-subvolume testbed
  option username testbed
  option password ##########
end-volume

volume mirror0
  type cluster/replicate
  subvolumes remote1 remote2
end-volume

volume io-cache
    type performance/io-cache
    option cache-size 512MB
    subvolumes mirror0
end-volume

volume quickread
  type performance/quick-read
  option cache-timeout 5         # default 1 second
  option max-file-size 64KB        # default 64Kb
  subvolumes io-cache
end-volume


volume iothreads
  type performance/io-threads
  option thread-count 16
  subvolumes quickread
end-volume

volume stat-prefetch
  type performance/stat-prefetch
  subvolumes iothreads
end-volume

volume readahead
  type performance/read-ahead
  option page-count 4
  option force-atime-update off
  subvolumes stat-prefetch
end-volume

volume writebehind
  type performance/write-behind
  option cache-size 16MB
  option flush-behind on
  subvolumes stat-prefetch
end-volume


-- 

Mit freundlichen Grüßen,

Florian Wiessner

Smart Weblications GmbH
Martinsberger Str. 1
D-95119 Naila

fon.: +49 9282 9638 200
fax.: +49 9282 9638 205
24/7: +49 900 144 000 00 - 0,99 EUR/Min*
http://www.smart-weblications.de

--
Sitz der Gesellschaft: Naila
Geschäftsführer: Florian Wiessner
HRB-Nr.: HRB 3840 Amtsgericht Hof
*aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux