Jason Volk
61348312a8
ircd::net: Modernize remaining unencapsulated socket endpoint queries.
2023-02-07 21:49:50 -08:00
Jason Volk
0b9bb185de
ircd::util: Add environment iteration convenience tools.
2023-02-07 20:04:26 -08:00
Jason Volk
6be344ae66
ircd::server: Elide expensive argument (sys)calls when log message muted.
2023-02-06 12:14:45 -08:00
Jason Volk
86df5510d4
ircd::net::dns: Optimize query w/ internal lookup priority when enabled by conf.
2023-02-06 11:58:48 -08:00
Jason Volk
9134684812
ircd::net::dns: Add fallback to internal table if netdb not installed.
2023-02-06 11:55:30 -08:00
Jason Volk
981006d831
ircd::resource::response::chunked: Additional overload for buffer w/o headers; fix comment.
2023-02-05 18:59:00 -08:00
Jason Volk
49bd43e685
ircd::util: Optimize instance_map w/ allocator::node.
2023-02-05 18:46:20 -08:00
Jason Volk
df67d08897
ircd::util: Optimize instance_multimap w/ allocator::node.
2023-02-05 18:45:08 -08:00
Jason Volk
ec74762f01
ircd::b64: Annotate to generate vectorize pass-warning; unroll to force (clang-15).
2023-02-04 13:20:44 -08:00
Jason Volk
027339456b
ircd: Suppress clang conditional-uninitialized false positive for b64.lo.
2023-02-04 13:20:44 -08:00
Jason Volk
ea40dcc56b
Fix undef var templates for explicit instantiations across units (-Wundefined-var-template).
2023-02-04 13:20:44 -08:00
Jason Volk
d3a125f1d5
ircd::db: Add RoundRobin TTL compaction define and reflection.
2023-02-02 20:42:25 -08:00
Jason Volk
ff67a5d597
ircd::server: Fix peer::sock_nodelay conf item default value type.
2023-02-02 18:51:03 -08:00
Jason Volk
ea66186ef8
ircd::net: Simplify synchronous socket::wait() w/ wait_type translate.
2023-02-02 18:51:03 -08:00
Jason Volk
ecc177aa36
ircd::fs: Minor cleanup unnecessary wait_type translate ornaments.
2023-02-02 18:51:03 -08:00
Jason Volk
5005dea8a4
configure: Apply -Wimplicit-fallthrough.
2023-02-02 18:51:03 -08:00
Jason Volk
89e44ce8e9
ircd: Apply branch expectation attributes to various case labels.
2023-02-02 18:51:03 -08:00
Jason Volk
a308010a1b
ircd::json: Fix utf16 surrogate pairing discernment.
...
ircd::utf16: Fix return value for unused lanes; use sentinel.
2023-01-31 01:48:12 -08:00
Jason Volk
fc0b6bbecb
ircd::fs: Assertions for file read length sanity.
2023-01-29 15:34:33 -08:00
Jason Volk
cd53f1b5a4
ircd::ios: Increase width for latency in profile::logging debug fmt.
2023-01-28 17:11:14 -08:00
Jason Volk
dfb4e19848
ircd::fs: Replace reuses of net::eof w/ specific fs::eof.
2023-01-26 14:14:52 -08:00
Jason Volk
600563d272
ircd::conf: Add template lex_cast convenience; limited to bool specialization.
2023-01-19 19:58:23 -08:00
Jason Volk
829e641a48
ircd::conf: Add nothrow overloads to get() suite.
2023-01-19 19:58:23 -08:00
Jason Volk
c2ee855346
ircd::db::database::env: Replace RB_DEBUG_DB_ENV w/ if constexpr.
2023-01-19 19:58:22 -08:00
Jason Volk
bb3576eaaa
ircd::ctx: Update stack allocator for official support. (boost-1.80)
2023-01-19 19:58:22 -08:00
Jason Volk
c667987391
ircd: Update x86_64 jump_fcontext stack offset. (boost-1.81)
2023-01-18 12:07:36 -08:00
Jason Volk
6bbde81b44
Ensure EXTRA_*FLAGS is properly appended after other build flags.
2023-01-18 08:11:02 -08:00
Jason Volk
310053abcf
ircd::logger: Appease the array-bounds bean counter.
2023-01-15 22:32:00 -08:00
Jason Volk
feb7524fe0
ircd::db::database::events: Use explicitly defined non-sequence index args.
2023-01-15 22:32:00 -08:00
Jason Volk
cbfbe51c35
ircd::net: Replace ifdef w/ constexpr for inclusion.
2023-01-15 22:32:00 -08:00
Jason Volk
f516b86e4d
configure: Eliminate clang runtime profiling infrastructure.
2023-01-14 16:44:47 -08:00
Jason Volk
ef23d1e749
ircd::server: Improve exception format strings; add chunk count.
2023-01-13 19:37:49 -08:00
Jason Volk
d377674748
ircd::simt: Split vector reduce_add to hadd.
2023-01-01 19:16:06 -08:00
Jason Volk
521a04730c
ircd: 🆑 Conf items for device queueing and queue size defaults.
2023-01-01 21:28:54 +00:00
Jason Volk
517f109f3a
ircd: 🆑 :exec: Override local size from reqd_work_group_size attribute.
2022-11-07 01:51:19 +00:00
Jason Volk
231a5305ca
ircd: 🆑 Additional device banner queries; improve formatting.
2022-11-03 18:28:53 +00:00
Jason Volk
110d4e7b17
ircd::gpt: Remove hostside backprop branch for now; simplify sample tokenizer.
2022-11-03 18:28:53 +00:00
Jason Volk
d5dc477de5
ircd: Minor fix makefile special recipe ordering.
2022-11-03 18:28:53 +00:00
Jason Volk
e8aea6f727
ircd: 🆑 Optimize warp size query on AMD platforms supporting CL extension.
2022-11-03 18:28:53 +00:00
Jason Volk
35a994bafb
ircd: 🆑 Tweak queue properties for profiling exclusive of device queues.
2022-11-03 18:28:53 +00:00
Jason Volk
db549a64ca
ircd::gpt: Add values for custom timestamp range to ctrl prof block.
2022-11-03 18:28:53 +00:00
Jason Volk
571271c6a6
ircd::gpt::pipe::code: Simplify source construction.
2022-11-03 18:28:53 +00:00
Jason Volk
601a7a3a6a
ircd: 🆑 :code: Add construction from files and directories.
2022-11-03 18:28:53 +00:00
Jason Volk
5aeadc2d52
ircd: 🆑 :code: Split createProgram related out of ctors; static iov_max.
2022-11-03 18:28:53 +00:00
Jason Volk
d95718ed6f
ircd::fs: Additional convenience tools for path suite.
2022-11-03 18:28:53 +00:00
Jason Volk
561be9973a
ircd::simt::norm: Barrier for overlapping input and output buffers. (gfx1011)
2022-11-03 18:28:53 +00:00
Jason Volk
071e108eac
ircd: Add amdgcn--amdhsa build recipes.
2022-11-03 18:28:53 +00:00
Jason Volk
ac163274f1
ircd::simt: Simplify keywording; tease out OpenCL version by target.
2022-10-30 18:44:50 +00:00
Jason Volk
e89703aa97
ircd::gpt::gpu: Limit dispatch to the number of control frame buffers.
2022-10-30 18:44:50 +00:00
Jason Volk
2609c21913
ircd::gpt::pipe: Enable mutable model; fixes for backpropagation; range stub.
2022-10-18 22:01:35 +00:00
Jason Volk
47117dde9a
ircd::gpt::model: Fixes for amdgpu mmaps; reenable mapping by default.
2022-10-16 21:12:29 +00:00
Jason Volk
1ac69df8cd
ircd::gpt::pipe::range: Use opts for construction.
2022-10-16 01:34:03 +00:00
Jason Volk
e8dad47247
ircd::gpt::model: Support mmap'ed and non-mmap'ed models based on conf.
2022-10-12 18:54:04 -07:00
Jason Volk
222d8404f1
ircd::server: Bail out of resolve handlers in case of unexpected callbacks.
2022-10-12 18:54:04 -07:00
Jason Volk
6a05fcefeb
ircd::simt: Consolidate timestamp counter sampling into inline.
2022-10-12 18:53:53 -07:00
Jason Volk
54e3b8f5b4
ircd::simt: Consolidate portables and macros from units into headers.
2022-10-11 02:13:46 +00:00
Jason Volk
831141727b
ircd::gpt::gpu: Add assert macro when trapping supported.
2022-10-09 03:29:29 +00:00
Jason Volk
c1168fcc30
ircd::gpt: Resolve behavior of opts.limit: 0=analysis, -n=unlimited, n=limited.
2022-10-09 03:13:09 +00:00
Jason Volk
6fb9cd7bf1
ircd::tokens: Relax noexcept on token result closures.
2022-10-08 15:37:14 -07:00
Jason Volk
a9b22c9052
ircd::lex: Handle js null as falsy boolean.
2022-10-08 10:49:41 -07:00
Jason Volk
4c44125d37
ircd::gpt::samp: Split dispatch branch into memfun.
2022-10-06 22:28:23 +00:00
Jason Volk
9682f406b3
ircd::gpt::gpu: Mute printf() on unsupporting platforms.
2022-10-06 22:26:19 +00:00
Jason Volk
2afaa4fa4f
ircd::gpt::pipe: Remove cruft.
2022-10-06 22:05:52 +00:00
Jason Volk
442dad869d
ircd::gpt: Resolve cycle count sampling; add debug log; fix count.
2022-10-06 22:01:41 +00:00
Jason Volk
0917a1f041
ircd::gpt::pipe: Resolve control page sync at ends of sample.
2022-10-06 18:54:29 +00:00
Jason Volk
be3fd4be62
ircd::gpt::pipe: Add 5th profile col for OpenCL 2.0; graceful default output.
2022-10-05 13:53:52 -07:00
Jason Volk
a9709568b4
ircd::gpt::pipe: Move the frame mapping command to the cycle.
2022-10-05 20:10:31 +00:00
Jason Volk
33afa8a4fc
ircd::gpt::gpu: Add global fence between attn and ffnn accumulations (gfx1011).
2022-10-05 20:10:31 +00:00
Jason Volk
c4cceb425c
ircd::gpt::gpu: Use explicit broadcast for local access.
2022-10-05 20:08:40 +00:00
Jason Volk
03e5f255c2
ircd: 🆑 Modernize queue properties; enable ooe.
2022-10-05 20:08:40 +00:00
Jason Volk
331a417656
ircd::gpt::gpu: Fix keywording for OpenCL 2.0+.
2022-10-02 01:30:10 +00:00
Jason Volk
ae9f14bf86
ircd::gpt::pipe::code: Mute options for non-llvm pipe; attempt source build before bc.
2022-10-02 01:29:58 +00:00
Jason Volk
ef7471defd
ircd: 🆑 Add debug logs for mem creations.
2022-10-01 22:06:45 +00:00
Jason Volk
736c8014dd
ircd: 🆑 Default device info queries on init; promote log level; fix dev ref.
2022-09-30 17:30:55 +00:00
Jason Volk
3d990f0890
Revert "ircd: 🆑 Isolate pthread enable hooking during init/finit."
...
This reverts commit 1a29e591ef
.
2022-09-30 17:30:44 +00:00
Jason Volk
35462afd04
ircd: Fix mods_ldso.o build flags as it includes boost/dll.
2022-09-30 17:30:39 +00:00
Jason Volk
da614e33a5
ircd: 🆑 Replace niceness value with intensity by range partition.
2022-09-27 14:18:25 -07:00
Jason Volk
508d27eb40
ircd: 🆑 Query to memoize warp sizes on init.
2022-09-27 12:23:43 -07:00
Jason Volk
e85ed0e0dd
ircd::gpt: Remove various cruft.
2022-09-24 16:40:39 -07:00
Jason Volk
4a8302038a
ircd::gpt::vocab: Add tokenization and detokenization count() convenience.
2022-09-21 16:42:07 -07:00
Jason Volk
2a608b8a7c
ircd: 🆑 Clarify value in banner w/ pretty bytes.
2022-09-13 18:30:40 -07:00
Jason Volk
ae9f2c1199
ircd::fs: Add asio glue for io_uring read/write. ( closes #37 )
2022-09-10 12:00:54 -07:00
Jason Volk
da55b185da
Enable io_uring on supporting platforms. ( #37 )
...
docker: Add liburing to base packages. (#37 )
2022-09-10 12:00:48 -07:00
Jason Volk
dcf60ae248
ircd::db::env: Use opts.all for sequential file read.
2022-09-10 11:40:33 -07:00
Jason Volk
83799b555c
ircd::fs: Add optional init for aio.
2022-09-10 11:40:33 -07:00
Jason Volk
10201c11eb
ircd::fs: Add autoconfs for sync(2) etc.
2022-09-10 11:40:33 -07:00
Jason Volk
dcbeb3fd4a
ircd::fs: Remove fs::iou.
2022-09-10 11:40:33 -07:00
Jason Volk
ffac5de052
ircd::server: Fix introduced macro conflict. (gcc-9)
2022-09-10 11:40:33 -07:00
Jason Volk
30701b24cc
ircd::ctx: Fixes for boost 1.80.
2022-09-10 11:29:29 -07:00
Jason Volk
f1da346a1f
ircd: 🆑 Suppress CL_DEVICE_NOT_FOUND rather than throw on init.
2022-08-27 13:38:35 -07:00
Jason Volk
966ef2ca95
ircd: 🆑 Log warnings on init rather than silent fallback.
...
ircd:🆑 Fix error msg; improve msg.
2022-08-27 13:38:35 -07:00
Jason Volk
a3226b3b38
ircd::info: Proper prctl check for cpuid availability.
2022-08-27 01:52:05 -07:00
Jason Volk
a2826400a8
ircd::gpt::samp: Sample is done when dispatch=0 on interrupt without accept.
2022-08-27 01:52:05 -07:00
Jason Volk
02cd570b5e
configure: Remove Mesa cruft.
...
ircd/Makefile: Use CC prog variable.
2022-08-27 01:51:49 -07:00
Jason Volk
1dd22c8e05
ircd::gpt::task: Count tokens at start rather than input vector size.
2022-08-19 20:57:35 -07:00
Jason Volk
47ce9ff839
ircd::db::column: Add parallel fetch closure for zero-copy closure.
2022-08-16 22:21:52 -07:00
Jason Volk
d1a8724296
ircd: Use fmt flags to ago(); add flag for blank postfix label.
2022-08-16 21:20:32 -07:00
Jason Volk
31c1e834bd
ircd::net::dns::resolver: Question must match or this is the mist of a packet spray.
2022-08-15 12:38:21 -07:00
Jason Volk
387b60cb15
ircd::net::dns::cache: Increase the default nxdomain ttl.
2022-08-12 16:22:41 -07:00
Jason Volk
f91863716a
ircd::net::dns: Promote send/recv debuglog msgs to release mode.
2022-08-12 16:08:56 -07:00
Jason Volk
5ce08521d5
ircd::net::dns: Perturb the minimum TTL to avoid groupings on expiration.
2022-08-12 16:08:56 -07:00
Jason Volk
f9dffbfcbc
ircd::resource::method: Fix condition wait without context.
2022-08-10 18:20:52 -07:00
Jason Volk
d978a02b91
ircd::rfc3986: Fix errant signed integer check w/ qi::int_parser.
2022-08-02 13:24:26 -07:00
Jason Volk
cd4b1714d9
ircd::rfc3986: Fix grammar throwing out of url::decode_unsafe().
2022-08-02 13:18:58 -07:00
Jason Volk
1f947f982c
ircd::gpt: Cache pipe::code instance in shared_ptr for task reuse.
2022-07-31 02:46:05 -07:00
Jason Volk
e38825030f
ircd::db: Add descriptor field for level0 compaction trigger.
2022-07-29 22:30:09 -07:00
Jason Volk
3b967b6746
ircd::mods: Add conf item for static dtor check; remove redundant debuglog.
2022-07-27 17:36:50 -07:00
Jason Volk
69dcd7acd9
ircd::mods: Eliminate RTLD_DEEPBIND by linking modules -Bsymbolic.
2022-07-27 16:22:42 -07:00
Jason Volk
2aa0986fb1
ircd::mods: Skip unload for instances w/ null headers or unconstructed.
2022-07-27 15:40:12 -07:00
Jason Volk
5506335502
ircd::mods: Fix reference to temporary (GCC).
2022-07-27 15:11:07 -07:00
Jason Volk
c002e03242
configure: Add PROFILE_USE conditional and subst.
2022-07-27 14:32:47 -07:00
Jason Volk
9f22edf3a4
ircd::mods: Add conf item to bypass mapi check on load.
2022-07-27 10:20:02 -07:00
Jason Volk
85f5dda7e1
ircd::ctx: Fixes for boost 1.76 asio API changes.
2022-07-25 12:31:18 -07:00
Jason Volk
3068466175
ircd::versions: Declare list specialization; noexcept ctors; minor cleanup.
2022-07-20 18:32:38 -07:00
Jason Volk
065343069a
Fix -flto flag compat erosion w/ gcc.
2022-07-20 12:03:59 -07:00
Jason Volk
741c211848
configure: Add conditional flags for forced pch w/ clang.
2022-07-20 09:56:22 -07:00
Jason Volk
216a2b64cb
Move -include arguments to preprocessor flags.
2022-07-20 09:56:22 -07:00
Jason Volk
3a5f7e0aac
ircd::resource: Implement more complex path routing.
2022-07-20 09:56:22 -07:00
Jason Volk
432f38cd06
ircd: Add tokens_split() tool w/ skip feature.
2022-07-19 14:26:23 -07:00
Jason Volk
b637eb0c50
ircd::rfc3986: Fix missing exception translation.
2022-07-19 14:26:23 -07:00
Jason Volk
b2d451b74d
ircd: Add branchless optimistic assertion instrument --with-assert=opt
2022-07-18 16:58:02 -07:00
Jason Volk
65243a3410
ircd::ios: Fault handler error log; current exception in msg.
2022-07-18 16:58:02 -07:00
Jason Volk
6ef8bf28ef
ircd::stringops: Fix string to string replacement error.
2022-07-18 16:58:02 -07:00
Jason Volk
93a7575352
ircd: Ⓜ️ :resource: Abstract request::version to ircd::request::agent.
2022-07-18 16:58:02 -07:00
Jason Volk
24cf3569a9
ircd::resource: Deinline request aggregate ctor.
2022-07-18 16:58:02 -07:00
Jason Volk
378b9b3acf
ircd::resource: Replace resources map with instance_map.
2022-07-18 16:58:02 -07:00
Jason Volk
ff8c1e92ae
ircd::allocator::incore: Handle null buffer case without throwing.
2022-07-13 23:03:55 -07:00
Jason Volk
b389ae04e4
ircd::resource: Fix use after move.
2022-07-13 22:48:14 -07:00
Jason Volk
0725db0431
ircd::json: Add prepend/append tools for arrays.
2022-07-13 22:48:14 -07:00
Jason Volk
084bef0579
ircd::db: Fix additional db::prefetcher shutdown. (related cd15c17499
)
2022-07-13 22:48:14 -07:00
Jason Volk
ea68ccdda1
ircd::db: Use lower level0 compaction trigger to reduce read amp.
2022-07-11 15:08:17 -07:00
Jason Volk
305c6e8075
ircd::db: Move allocator log debug to separate define; use constexpr.
2022-07-11 14:47:34 -07:00
Jason Volk
6ce5ab5b1d
ircd::conf: Add environ() to interface; minor cleanup/reorg.
2022-07-11 12:53:25 -07:00
Jason Volk
8f8cb10980
ircd::lex: Fix erroneous and-predicate for is/test grammars.
2022-07-09 17:19:40 -07:00
Jason Volk
1fb853dd83
Makefile: Incremental format for remaining flags and targets.
2022-07-09 15:00:58 -07:00
Jason Volk
94e4891187
ircd::db: Add version for manifest write feature; enable reflection.
...
ircd::db: Add version for WAL full feature w/ reflection.
ircd::db: Add version for no-WAL manifest write error w/ reflection.
ircd::db: Add version for featured IO_MID/IO_USER levels w/ reflection.
ircd::db: Add version for Change Temperature compaction reason w/ reflection.
ircd::db: Add version for Fixed Blob GC compaction reason w/ reflection.
2022-07-09 13:43:17 -07:00
Jason Volk
22c6baeef7
ircd::db: Cleanup reflection table typedefs.
2022-07-09 13:43:17 -07:00
Jason Volk
cd15c17499
ircd::db: Fix prefetcher inhibiting some clean shutdowns.
2022-07-08 17:46:35 -07:00
Jason Volk
09021ac28b
ircd::exception: Move throwing errno+system_category out-of-line.
2022-07-08 11:39:45 -07:00
Jason Volk
18b3b58709
ircd::net::acceptor: Add filter instance stub to listener.
2022-07-08 10:45:33 -07:00
Jason Volk
d3584274ac
ircd::net::bpf: Add preliminary epbf support.
2022-07-08 10:45:33 -07:00
Jason Volk
11e75db293
ircd::net: Add filter attach/detach to socket option suite.
2022-07-07 16:47:55 -07:00
Jason Volk
079e273355
ircd: Upgrade to std::filesystem from boost::filesystem.
2022-07-07 16:47:55 -07:00
Jason Volk
3451a989ac
Add noexcept to various lambdas (gcc-12).
2022-07-07 16:47:55 -07:00
Jason Volk
7d60b6fddc
ircd::server: Ensure throwing in case error is set w/o exception; minor cleanup.
2022-07-05 13:01:58 -07:00
Jason Volk
8ba5548a2e
ircd::mods: Improve paths encapsulation; fix warning. (gcc-12)
2022-07-04 22:25:18 -07:00
Jason Volk
6a5e7acee1
ircd::lex: Explicit uninitialized initialization for -Wmaybe-unitialized (gcc-12).
...
ircd::net: Explicit uninitialized initialization for -Wmaybe-unitialized (gcc-12).
2022-07-04 22:25:18 -07:00
Jason Volk
613e309d7e
ircd::lex: Require tight input strings for conversion to integral.
2022-07-04 22:25:18 -07:00
Jason Volk
f584ee0d2c
ircd::info: Minor cleanup/formatting w/ hex literals; fix warnings (gcc-12).
2022-07-04 22:25:18 -07:00
Jason Volk
32d92b96ca
ircd::db::prefetcher: Additional debuglog in shutdown sequence.
2022-07-02 21:39:11 -07:00