Hi all,
          By   mapping  the WAL files by each backend  in to its address
space  using "mmap"  system call , there  will be  big
 improvements  in performance  from the following point of view:
              1.   Each  backend directly writes in to the address
space  which is  obtained by  maping  the WAL files.
                      this  saves  the write system call at the  end of
every transaction  which transfres  8k of
                      data from user space to kernel.
               2.   since every transaction does not modify all the 8k
content of WAL page , so by issuing the
                       fsync , the  kernel  only   transfers only the
kernel pages which are modified , which is  4k for
                        linux so fsync time  is saved by  twice.
Any comments ?.


Regards
jana

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to