Posts
4803
Following
319
Followers
489
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

This is why women cover their drinks when enters the room.

34
8
2

Jarkko Sakkinen

Edited 1 year ago

This was pretty cool:

❯ sudo bpftrace -e 'k:tpm_transmit { @start[tid] = nsecs; } kr:tpm_transmit { @[kstack, ustack, comm] = sum(nsecs - @start[tid]); delete(@start[tid]); } END { clear(@start); }'
Attaching 3 probes...
^C

@[
    tpm_transmit_cmd+46
    tpm2_flush_context+120
    tpm2_commit_space+197
    tpm_dev_transmit.constprop.0+137
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 2860677
@[
    tpm_dev_transmit.constprop.0+111
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/16:1]: 3890693
@[
    tpm_transmit_cmd+46
    tpm2_load_context+195
    tpm2_prepare_space+410
    tpm_dev_transmit.constprop.0+54
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 9058524
@[
    tpm_transmit_cmd+46
    tpm2_save_context+179
    tpm2_commit_space+314
    tpm_dev_transmit.constprop.0+137
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 11426260
@[
    tpm_transmit_cmd+46
    tpm2_load_context+195
    tpm2_prepare_space+318
    tpm_dev_transmit.constprop.0+54
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 14182972
@[
    tpm_transmit_cmd+46
    tpm2_save_context+179
    tpm2_commit_space+155
    tpm_dev_transmit.constprop.0+137
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 22597059
@[
    tpm_dev_transmit.constprop.0+111
    tpm_dev_async_work+102
    process_one_work+374
    worker_thread+614
    kthread+207
    ret_from_fork+49
    ret_from_fork_asm+26
, , kworker/4:2]: 1958500581

Gives me total ns time for each possible stack while bpftrace was running :-) Nothing spectacular but I believe this might be enough to get hold of a performance regression:

https://lore.kernel.org/linux-integrity/D43JXBFOOB2O.3U6ZQ7DASR1ZW@kernel.org/

I’m a total beginner with eBPF stuff, and not an expert in tracing and profiling, so any improvement suggestions are welcome.

#linux #kernel #bpftrace

0
1
2
@ljs I find your comms inclusive as ****, I like when people are who they are ;-)

One question that I hate in English speaking countries (especially in States) is this "How are you doing?" bullshit. I'm like "I don't how I'm doing, what kind of fucking question is that. From which time range I need to report my ups and downs?" That question still totally freezes me every single time 😄 I've even practiced appropriate "protocol handshake" answers before departing Finland a few times in order to survive from the situation.
1
0
2
@kernellogger @linuxplumbersconf If Dan is available, definitely going to vote him. He is right type of personality for this type of position in my opinion, as far as my judgement goes.
1
0
3

Thorsten Leemhuis (acct. 1/4)

Is there anything you would like to ask the Foundation's TAB (Technical Advisory Board)?

Then come to the "ask us anything" session with the current TAB at the @linuxplumbersconf 2024, which is currently scheduled for 9:00 on Friday, September 20[1].

And if you can't be there, just tell me your questions: I'll try to bring a few of them forward if I get a chance.

[1] https://lore.kernel.org/all/87zforv3zc.fsf@trenco.lwn.net/

3
4
3
@ljs and non taken ;-) all cool
1
0
2
@ljs lol, i am what i am :D
2
0
2
@vbabka oops lol right :--D In LinkedIn I was only contacted by weird recruitment consultants offering weird jobs, in here recruitment opportunities can happen sort of organically and naturally without image building nonsense :-) people see what you do, you see what they do, you like the same shit and that's about it.
1
0
1

@vbabka further apparently 7z l -r lists recursively. I wonder if you can get just the list without all the formatting crap and banner….

1
0
0

Jarkko Sakkinen

I needed to check if files went to a generated image and by accident noticed that 7z is actually quite nice ad-hoc tool for checking such thing:

❯ 7z l efi-part.vfat

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,32 CPUs 13th Gen Intel(R) Core(TM) i9-13900KF (B0671),ASM,AES-NI)

Scanning the drive for archives:
1 file, 33521664 bytes (32 MiB)

Listing archive: efi-part.vfat

--
Path = efi-part.vfat
Type = FAT
Physical Size = 33521664
File System = FAT16
Cluster Size = 2048
Free Space = 19079168
Headers Size = 90112
Sector Size = 512
ID = 2421383688

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2024-09-10 20:59:32 D....                            EFI
2024-09-10 20:59:32 ....A     14349312     14350336  bzImage
2024-09-10 20:59:32 D....                            loader
2024-09-10 20:59:32 D....                            loader/entries
2024-09-10 20:59:32 ....A          126         2048  loader/entries/buildroot.conf
------------------- ----- ------------ ------------  ------------------------
2024-09-10 20:59:32           14349438     14352384  2 files, 3 folders
0
0
0

Jarkko Sakkinen

Edited 1 year ago
BTW, the only "professional network" I used while looking for a new position was #Mastodon. There could not be a better environment to find new and interesting opportunities.
1
0
1

Jarkko Sakkinen

Edited 1 year ago
If I could decide, I would block all services from the EU region, which require smart phone to bind into them. That is the only real need for smart phone in my life and I'd really like to switch to a basic phone.

In my block list would be at least BookBeat, Signal, WhasApp and Telegram. We should just ban them until they fix the situation :-) I'm sure SMS based binding is doable.

I just hate smartphones so much...
0
0
2
@ljs @lkundrak @davesh @ibboard imho Apples power adapter with the international sockets pack is the best 😉 i use it with all my laptops in travel. Livin’ socket agnostic is great!
1
0
0
@orva Yeah, I mean these days if I install an app, I found out that it is actually a software development platform with a plugin system ;-) This applies to surprisingly wide category apps.
0
0
0
*Document Scanner
0
0
0

Jarkko Sakkinen

Edited 1 year ago
After scanning ~40 pages of contract documents I just want to say that #GNOME Document Scanner rocks! No bullshit workflow, gets to job done. This is rare 👍
2
0
3

Jarkko Sakkinen

oops, went of the hook with this: https://lore.kernel.org/all/D400W37FR01S.CLFIKA98YWX7@kernel.org/

I think it would be pretty interesting idea to use BPF like this in kernel.
0
0
0

Jarkko Sakkinen

If #decentralized #services become a thing, I wonder if #mainframe 's make a strong comeback 🙂 They are machines made for transaction throughput.
1
0
0
Edited 1 year ago

Since there seems to be renewed interest in , I thought I'd have a look at the my CDE utilities from back then, which led me to my old Web page “Linux on a VAIO Z600LEK” http://dynalabs.de/mxp.old/vaio/index.html, because there's a screenshot of my work environment from back then. ⇢

1
2
1
Show older