Posts
3593
Following
215
Followers
364
Linux kernel maintainer. Compilers and virtualization at Parity Technologies.

Jarkko Sakkinen

This shit can't be real: my gym had went to bankruptcy! I was wondering why key does not open the door. 50000 EUR of unpaid rents was the reason as I googled.

So was a short training. I guess I need to get a new gym membership.
0
0
0

Jarkko Sakkinen

I got already boot time back down to 8.7s which is only 1.7s more given the encryption overhead but I think we can do better:

https://lore.kernel.org/linux-integrity/D4DICMSZJXCG.8X4SU03FPJ4X@kernel.org/

I noticed a lot of round trips to TPM with small requests of random data by hwrng.

So next thing I'm gonna do to improve performance is to create a fixed size chip pool for random and fill that and serve most of random data requests by fetching from internal pool.

This could have a small effect on improving the boot time but further this should factor out radically the amount of wait states caused by TPM after the boot while system is running :-)

Uh oh, now I really need to get off to the gym! Got stuck in LKML.

#linux #kernel
0
1
4

Jarkko Sakkinen

Edited 3 months ago
to the monday gym, have got my weekly exercise routine back after some struggle ;-)
0
0
1

Jarkko Sakkinen

Edited 3 months ago
If Intel goes down, are there any other players than TSMC and Samsung doing semiconductors? That could have even geopolitical impact given their neighboring countries, close proximity of all manufacturing in the world etc.

IMHO that is pretty worrying situation, more even so than possibility of Intel going down.

Like for instance consider this. A single nuke could destroy the whole in the world within minutes with that physical topology.
1
0
0

Jarkko Sakkinen

I don’t get this Sudoku. How do I detach that display? The replacement is on left but there is like no attachment points in it.
0
0
0

Jarkko Sakkinen

Edited 3 months ago
One of the most useful purchases this year: rocket sockets. Could not live without:

https://peperspedals.bigcartel.com/product/rocket-sockets
0
0
0

Thorsten Leemhuis (acct. 1/4)

, which allows scheduling policies to be implemented as programs, has been merged for 6.12:

https://git.kernel.org/torvalds/c/88264981f2082248e892a706b2c5004650faac54

See https://lwn.net/Articles/922405/ for a description of what it does and https://lwn.net/Articles/972710/ for the controversy it caused that is the reason why it took so long to land in mainline.

0
5
3

Jarkko Sakkinen

"Three Mile Island, the site of worst nuclear disaster in the United States, is reopening and will exclusively sell the power to Microsoft as the company searches for energy sources to fuel its AI ambitions"

https://edition.cnn.com/2024/09/20/energy/three-mile-island-microsoft-ai/index.html

#microsoft #ai
0
1
2

Jarkko Sakkinen

I wonder if there is a typst template for label writers such as Dymo LabelWriter 450, which I own. I use gLabels ATM but do not see any point in WYSIWYG and an address label.
0
0
0

Jarkko Sakkinen

This performance regression fix is as done as it can be:

https://lore.kernel.org/linux-integrity/20240921120811.1264985-1-jarkko@kernel.org/

As soon as it gets tags I'll put out a pull request. Not having the fixes can double the boot time at least on some AMD desktop CPU's if TPM bus encryption is turned on.

Without fix: 7s -> 20s
WIth the fix: 20s -> 8.7s

So pretty reasonable number, encryption cannot be done without any overhead. Patches fixup unnecessary encryption context throttling.

Hopefully next week when the cons are over there will be some feedback.

#linux #kernel
0
1
1

Jarkko Sakkinen

Xenonauts 2 is a nice game, helps with Xcom withdrawal symptoms at least.
0
0
0

Jarkko Sakkinen

I got couple of days ago both email that my talk Linux Plumbers was both accepted and also that it was rejected 🤷 I guess there was something wrong with the mailer?

It would be nice to get infos a bit earlier and not in superposition state ;-)

@linuxplumbersconf
1
0
1

Jarkko Sakkinen

Julia is pretty cool language IMHO for doing workbook type of stuff like you would with Jupyter and all this "scientific Python" type of stuff. There's excellent support in the REPL cli for persistence with shared environments and projects. I think I replace bc and Python with Julia for being my main calculator app.
1
0
2

Jarkko Sakkinen

Edited 3 months ago
I tagged 0.1.0 of my TPM driver test framework: https://codeberg.org/jarkko/linux-tpmdd-test/src/tag/0.1.0

Now it pretty much can take care all testing and development needs I have. From this tag forward the Git history is also declared as stable (i.e. now rewrites).

It's also not that common example of using systemd with BuildRoot ;-)
1
0
1

Jarkko Sakkinen

I ended up with:

ftrace {
	event.kprobes {
		tpm_transmit {
			filters = "common_pid < 2"
			probes = "tpm_transmit"
			hist {
				keys = stacktrace
			}
		}
	}
}
kernel {
	trace_buf_size = 1M
	trace_options = sym-addr
}

It gives me counts of stack exercised during the boot. I’d like to get latency calculation but I’m not really good at this so this can do for the time being.

The is held in /sys/kernel/debug/tracing/events/kprobes/tpm_end/hist.

0
0
0

Jarkko Sakkinen

Edited 3 months ago
I voted in the Linux Foundation TAB elections.

Since it is politics I can tell that my top three was Dan Williams, Dave Hansen and Kees Cook and for the rest I gave equal vote.
0
0
0

Jarkko Sakkinen

Wondering if there is a reason for not having kernel-command line parameter for passing bootconfig. #linux #kernel
1
1
0

Jarkko Sakkinen

Noticed by accident in aerc. By pressing 's' you get a vertical pane showing the message instead of having to open it by pressing enter. By pressing 'shift-s' you get a horizontal pane.

#aerc #email
1
0
1

Jarkko Sakkinen

Edited 3 months ago
This was good stuff:

https://lwn.net/Articles/990273/
0
0
0
Show older