Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

many hdd read/write cycles slow down the system

i just got our new home-user astaro working and i'm very happy. but one thing:
i installed the astaro onto usb-stick (tmp / log mounted to tmpfs, syncing on boot/shutdown). 

why? less power consumption and smaller case for the hardware.

when surfing the internet, i get many write accesses to the stick (seems to be the /var/storage partition) slowing the system down dramatically (80% cpu cycles waiting for the usb stick). 

When shutting down the http-anti-virus, everything gets ultra-fast. Am i right, that before scanning for viruses, the website's content is stored to disk? if so, is there any way to scan the files in ram to unburden the usb stick? mounting /var/storage to ram seems exaggerated (currently 500 mb)

i don't want to change to internal hdd, if possible [;)]

thx for help [:)]


This thread was automatically locked due to age.
Parents
  • Fully agree on scanning AV and also SNORT on a kind of ramdisk. Most systems are capable to 4 GB so 1 just for the scann engines would be great.

    SSD on USB Stick that maybe helps. There are usb stick around USB3 doing up to 280 MB read i guess 240 write.
    maybe a CF card to sata connector could also help.

    right now i use a ssd there i cannot feel any throttle down by scanning. OCZ 60 GB 285/275 mb
    good luck!

    Santa Claus Request: RamDisk for AV + IDS scanning :-)
    ho ho ho
Reply
  • Fully agree on scanning AV and also SNORT on a kind of ramdisk. Most systems are capable to 4 GB so 1 just for the scann engines would be great.

    SSD on USB Stick that maybe helps. There are usb stick around USB3 doing up to 280 MB read i guess 240 write.
    maybe a CF card to sata connector could also help.

    right now i use a ssd there i cannot feel any throttle down by scanning. OCZ 60 GB 285/275 mb
    good luck!

    Santa Claus Request: RamDisk for AV + IDS scanning :-)
    ho ho ho
Children
  • i just investigated the whole thing a bit..
    seems like most write accesses go to "var/storage/chroot-http/tmp" so i decided to mount this folder into tmpfs. my impression is, that it's much faster now.

    monitoring /proc/diskstats shows:

    • no more writes to storage-partition only a few reads
    • few writes / reads to/from root partition


    is there any benchmark (like internet-speed-test) for connections per second?
    if not, i could run something like the apache ab benchmark on a fast website and compare the results (with / without ramdrive) to share them here