00:12:42 I guess it is here, too 00:13:50 I guess I have exactly the setup you do, except for a v. b 00:13:56 and it working 00:13:58 :\ 00:14:14 (none of it at all reflected in eeprom(8)) 00:14:26 but /system/boot/environment agrees with it 04:13:09 hello all, for ZFS on illumos, when create the zpool and zfs, is it 4k aligned with default command, such as zpool create zones c0t0d0 c0t0d1 , need the -o option with ashift parameter ? 04:13:48 I read some docs, it is required on Linux, I’m not sure if it’s required too on illumos/smartos 04:13:56 best wishes for the answer 05:17:59 tozhu: If your disks advertise themselves as having 4k blocks, we'll create a 4k block sized pool by default; i.e., ashift=12 05:19:35 jclulow: Thank you for the response, I mean I don’t need to type ‘ashift=12’ when run ‘zpool create’, it it create automatially with aligned? 05:20:07 If your disks advertise themselves as having 4k blocks, then yes, it will be created with 4k blocks automatically 05:20:28 If not, then you would have to override 05:20:52 okay, got it, Thank you very much for the answer 05:21:43 You are most welcome! 05:21:54 jclulow does ttyb exists? 05:22:19 yes, if I 'date >/dev/term/b' it pops out on the console. Indeed, on much older illumos bits, the console worked correctly! 05:23:17 on loader prompt, is console=ttyb ? 05:23:56 I don't see the loader prompt 05:24:19 I mean, if you end up with console=text, it means that either the value is overwritten in loader or dboot/locore 05:24:28 right 05:25:08 unless it fails to set it to ttyb in first place... 05:25:22 jclulow@astrid ~ $ tr '\0' '\n' < /system/boot/environment | grep ^console 05:25:24 console=text,ttya 05:25:30 I guess it's probably setting it to that! 05:25:35 Despite what I told it to use haha 05:26:41 ok text,ttya means two things -- first, kernel will pick first item from list, thats why you get text, and secondly, for some reason, the loader does not appear to see ttyb 05:26:54 does environment list ttyb-mode line? 05:27:11 ttyb-mode=115200,8,n,1,- 05:28:29 the /boot/defaults/loader.conf attempts to set all 4 ports for console, but if it fails to recognize any serial ports, those wont appear in console variable 05:28:55 (null)-mode=115200,8,n,1,- 05:28:59 what's (null) haha 05:29:20 now we are getting somewhere:) 05:29:43 is it bios or uefi boot? 05:30:16 I expect it to be EFI, and I see efi-version=2.60 in the environment 05:30:25 ok, so its uefi 05:30:48 and head of gate or some older? 05:31:34 what version is listed by installboot -i /boot/loader64.efi 05:32:28 Yeah these bits are from heads/stlouis-0-g0a2f410dea which includes 5a33fb2d62b34fc173b7c18e177ad488490815ca from master 05:33:07 Extended version string: 1.1-2024.06.02.1 (MD5 hash: 7fbd8aa511b49d34628ed79ac64d55d5) 05:33:27 ok, so it is current head, thanks 05:33:34 You're welcome 05:34:03 ok, and you do not have access to loader prompt at all? 05:35:04 I can probably figure out wscons access soon 05:36:54 What would you like me to type in there if I can get it 05:37:35 the problem is, there must be something new/unexpected about serial devices and would help if we could get uefi device paths for serial ports - ConIn, ConOut and ConInDev ConOutDev values 05:38:00 so, its efi-show -g global -v ConIn etc 05:40:16 the core of the problem is that with UEFI, the identification of serial ports is just pain:( 05:40:57 I have a additional question, is there any GUI tool that can watch system running status? eg: process running, memory usage, IO statistics, disk space, disk usage and so on, is there any advice? 05:41:55 and to make things worse, some systems crash whn you attempt to use io ports directly, as we do with bios 05:48:16 (null)-mode would of course mean that we did allocate structure for serial port but we failed to create name for it, and that definitely does sound like my bug:( 05:49:12 if anything, then I would have hoped to see name like tty0 there, for unrecognized case 05:49:42 I do _also_ see a tty0 05:50:04 hm. ok... 05:50:06 (null)-mode=115200,8,n,1,- (null)-spcr-mode=115200,8,n,1,- tty0-mode=115200,8,n,1,- tty0-spcr-mode=115200,8,n,1,- ttya-mode=9600,8,n,1,- ttya-spcr-mode=115200,8,n,1,- ttyb-mode=115200,8,n,1,- ttyc-mode=9600,8,n,1,- ttyd-mode=9600,8,n,1,- 05:50:12 that's everything that matches "mode" 05:50:40 i see 05:51:42 ok, I need to walk the dog now, then later I can see into it.... 05:51:53 and sorry for the mess... 05:52:40 all good! 05:52:47 I will figure out how to get at the console 06:28:04 [illumos-gate] 16650 Fix coverity defects: CID 147610, 147608, 147607 -- cao 06:29:00 interesting, git push/pull from gate is appearing at slow side... 06:36:07 [illumos-gate] 16651 zfs: Fix coverity defects: 147658, 147652, 147651 -- cao 06:36:59 tsoome: from code.illumos.org or from github.com/illumos/illumos-gate 06:37:16 and one more question: for zfs_txg_timeout parater, eg: set it to 30s, my rdbms is commited to zfs, and duration the 30s, eg at the 20s, the system lost the power, then the data will lost for my rdbms? 06:37:46 tozhu: as long as your database correctly calls fsync() on files, and checks the return code, you won't lose any data 06:37:58 I would hope your database system called fsync()! 06:38:05 one would hope, but I would not assume! 06:38:17 I would not tune zfs_txg_timeout though 06:40:07 jclulow: Thank you, for a busy system, eg a lot of write, we hope the data can be write in a big batch, 06:40:34 so we want to tune it to 20s, even 30s 06:41:35 I wouldn't assume that would help 06:41:39 well, that's not really going to happen with a database, because it will fsync() (hopefully), it also has the same issue as garbage-collection, where the longer you wait, the (probably) longer it will take to happen 06:41:45 Right 06:41:58 Is your pool on SSDs or on rotational disks? 06:42:23 on SSD (NVMe) 06:42:33 jclulow upstream tsoome⊙cio:illumos-gate.git -- this one 06:42:34 Ok, that's a good start. What's the vdev topology? 06:42:47 tsoome: I just restarted gerrit, the JVM was getting pretty big 06:42:51 let me know if it's still crap 06:43:05 we prefer SSD than HDD/SAS disk for performance 06:43:25 Yes, definitely 06:43:32 what's the vdev topology? 06:43:45 is it a single mirrored pair? 06:43:56 we use mirror, always mirror 06:44:05 that's good 06:44:19 So, really, what I would do is look at the VFS operations your database is actually doing 06:44:22 usually 4 SSD, on 2 mirror vdev 06:44:39 is it doing a lot of write(), or read(), is it doing a lot of fsync() 06:44:43 are those blocking 06:44:48 if they are blocking, what are they blocking on 06:44:55 jclulow yes, it is much better now 06:45:04 thanks! 06:45:05 tsoome: ok, I'll keep an eye on the bloat 06:45:21 there are a lot of write, 06:45:24 if adjusting zfs_txg_timeout is going to help performance, you would _see_ that somehow in the result of investigating where the DB is hitting bottlenecks 06:46:13 according to the accounting, it’s about 150M/s writes in 8k block size, 06:46:50 do you have a performance target in mind 06:48:04 yes, we hope the latency less 1ms 06:48:24 latency of DB-level operations, or do you mean latency of an individual write() call 06:49:06 we have calcauted, SSD (NVMe) had 4G bw, it can handle 06:49:25 in DB level 06:49:31 ok, that's exciting 06:49:52 do you have a distribution of latencies for how it's performing now? 06:50:35 ideally a histogram obviously but if you have p50, p90, p95, p99, etc, that can help too 06:51:21 we hope get the data from OS level, but I don’t know how to collect the statics from OS 06:51:49 so I ask the question early, if there is any good tool to do that 06:53:28 Collecting OS level data is a good plan, but I would start your investigation at the point where you've got a performance target 06:53:54 i.e., if you want each DB request to be completed within 1msec, you need to be able to look at the life cycle of a DB request as it executes 06:54:25 when it starts, when it is complete; was it hot on CPU the whole time or did it block for something, and if so, what did it block for? 06:54:56 Assuming it's blocking on something, what is _that_ thing blocking on, etc; eventually you'll get to some bottleneck in ZFS or the disks or whatever 06:55:10 or, you won't, and it's just the speed that your software is able to go at on your hardware 06:55:35 (though I've obviously never seen a system that has had no performance work done, and somehow is going as fast as possible, haha) 06:55:35 got it, thank you very much 06:56:22 You're welcome! I'm sure folks will be able to help you along once you figure out what the DB is up to etc 06:56:46 yes, it’s true 10:07:03 [illumos-gate] 16657 fnmatch(3c) typos FNM_CASEFOLD as FNM_FOLDCASE -- Ahelenia Ziemiańska 20:05:40 I have so many questions after reading message to the developer list. 20:27:37 like what? 20:27:57 I am waiting for builds and could answer questions? 22:05:35 [illumos-gate] 16659 Clean up minor issues in prototype.man3x -- Robert Mustacchi