[
https://issues.apache.org/jira/browse/ARTEMIS-2466?focusedWorklogId=333187&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-333187
]
ASF GitHub Bot logged work on ARTEMIS-2466:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Oct/19 08:21
Start Date: 24/Oct/19 08:21
Worklog Time Spent: 10m
Work Description: wy96f commented on pull request #2868: ARTEMIS-2466
PageSyncTimer::timeSync isn't configurable using ASYNCIO
URL: https://github.com/apache/activemq-artemis/pull/2868#discussion_r338440098
##########
File path:
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
##########
@@ -1002,43 +1003,51 @@ private void applyAddressesAndQueues(HashMap<String,
String> filters) {
private void performAutoTune(HashMap<String, String> filters, JournalType
journalType, File dataFolder) {
if (noAutoTune) {
filters.put("${journal-buffer.settings}", "");
+ filters.put("${page-sync.settings}", "");
} else {
try {
int writes = 250;
System.out.println("");
System.out.println("Auto tuning journal ...");
+ long time = SyncCalculation.syncTest(dataFolder, 4096, writes, 5,
verbose, !noJournalSync, false, "journal-test.tmp",
ActiveMQDefaultConfiguration.getDefaultJournalMaxIoAio(), journalType);
Review comment:
If AIO or MAPPED, we should run another test using `NIOSequentialFile` to
apply to page-sync-timeout.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 333187)
Time Spent: 2h (was: 1h 50m)
> PageSyncTimer::timeSync isn't configurable using ASYNCIO journal
> ----------------------------------------------------------------
>
> Key: ARTEMIS-2466
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2466
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.10.0
> Reporter: Francesco Nigro
> Priority: Major
> Time Spent: 2h
> Remaining Estimate: 0h
>
> If the broker is configured to use ASYNCIO journal, PageSyncTimer::timeSync
> is being defaulted with the default journal buffer timeout of NIO ie 3333333
> or 300 writes/sec
--
This message was sent by Atlassian Jira
(v8.3.4#803005)