Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a server that runs two different workloads:

  • heavy, linear write (stores all network traffic as pcaps); and
  • a transactional DB workload where IDS alerts are written to (frequent inserts) and then analysed (queries with limits, no massive reporting).

At the moment, the disk performance seems to be really poor. Specifically, the pcaps and alerts are written, but DB querying is unacceptably slow.

How to "partition" disk I/O in such way as to give priority to the DB workload while monitoring if any writes are "falling behind".

The server has quite a bit of ram for caching if it helps.

share|improve this question
    
Which distribution and version of Linux are you running? What type of hardware and RAID arrangement is this? This information helps. –  ewwhite Aug 30 '12 at 10:25

1 Answer 1

Unfortunately, system memory isn't used for write caching disk I/O.

These workloads are dissimilar enough that you should use separate physical disks.

That said, investigate ionice

share|improve this answer
    
Trying ionice, and point taken. –  Konrads Aug 30 '12 at 14:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.