Проблема производительности с FB2.5 + Windows Server + определенное оборудование (серверы DELL?)

2920
Ricardo

У меня относительно небольшая база данных (6 ГБ), и мое приложение может быстро получить к ней доступ при использовании Firebird 2.1 или Firebird 2.5 на несерверной версии Windows. Но если я попытаюсь использовать Firebird 2.5 на серверной версии (2008, 2012), это будет мучительно медленно.

Что я уже пробовал:

  • Установите FileSystemCacheSize для firebird.conf на 50, 60 и 70%, как указано здесь

Заметки:

  • Проблема возникает на более чем одной машине
  • К сожалению, проблема все еще не является детерминированной, так как мы тестировали Win Server 2008 и 2012 на простом настольном компьютере, и производительность была очень хорошей, но на некоторых серверных аппаратных средствах она медленная.
  • До сих пор проблема обнаруживалась только на серверах Dell.

Оборудование, которое показывает проблему:

  • Dell Perc H310 SCSI

Оборудование, которое не показывает проблему

  • Dell Desktop Vostro

У меня вопрос, что я должен искать, чтобы узнать, что вызывает эту проблему производительности?

1
Уже пытались перезагрузить серверы? Dave 9 лет назад 0

2 ответа на вопрос

2
bjanssen

The DELL PERC H310 is known to have performance issues in JBOD mode. DELL admits as much here: http://en.community.dell.com/support-forums/servers/f/906/t/19480834.aspx?pi239031352=1

On top of that the PERC H310 has no write-cache option and can't be upgraded with a BBU. In other words, it is not suited for production-level RAID operation either. See link for feature set: http://www1.la.dell.com/content/topics/topic.aspx/global/products/pvaul/topics/en/us/raid_controller?c=gt&l=en&cs=gtbsdt1

DELL recommends to only use the H310 in RAID1 mode with no more then 500GB storage space, see the first link for reference.

As far as I can judge it, you now have three options:

  1. replace your HDDs with SSDs. The SSDs superior performance will mitigate the atrocious H310's performance.
  2. replace the H310 controller with something useful, e. g. LSI MegaRAID or 3Ware.
  3. create a RAID1 with no more than 500GB of storage space.
1
harrymc

This Firebird tracker issue may pertain to the same problem :
Slow performance in firebird installed on windows server 2008 promoted to domain controller.

The solution there was to enable write-caching, although it was remarked that some Dell models do not allow this tweak.

See :

Firebird vs Windows: file-system caching issue
Write-Caching - Enable or Disable.