klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
dutch has quit [Quit: WeeChat 3.3]
dutch has joined #osdev
<eryjus> sdfgsdfgs: the wiki has a good article and is always a good place to start: https://wiki.osdev.org/Memory_management
<zid> might wanna look up what an instruction set is too
<zid> because apparently you don't know
<gog> imstructiom set
<zid> blimstruction sebt
* gog dabs
xenos1984 has quit [Read error: Connection reset by peer]
<gog> apparently university of iceland has a similar CS curriculum as i do because one of my wife's friends posted a screenshot of their homework and it was this "bomb defuse" program where you had to do a different buffer overflow or stack smash to get to the next stage
<zid> cute
<gog> s/as i do/as my alma mater did/
<gog> they are cute
lg has quit [Ping timeout: 245 seconds]
<Oli> I wonder if you convey alma to be the Spanish word for soul, and mater, as a comrade.
<gog> tovarisch
lg has joined #osdev
<Oli> Thank you for expanding me about, gog!
<gog> :|
* gog expands
m3a has joined #osdev
xenos1984 has joined #osdev
elastic_dog has quit [Ping timeout: 245 seconds]
elastic_dog has joined #osdev
rorx has quit [Ping timeout: 252 seconds]
gog has quit [Ping timeout: 265 seconds]
zaquest has quit [Remote host closed the connection]
zaquest has joined #osdev
rorx_ has joined #osdev
rorx_ is now known as rorx
[_] has joined #osdev
zacque has joined #osdev
[itchyjunk] has quit [Ping timeout: 264 seconds]
vdamewood has joined #osdev
vinleod has joined #osdev
vdamewood has quit [Killed (silver.libera.chat (Nickname regained by services))]
vinleod is now known as vdamewood
sts-q has quit [Ping timeout: 265 seconds]
srjek has quit [Ping timeout: 264 seconds]
sts-q has joined #osdev
[_] has quit [Read error: Connection reset by peer]
devcpu has quit [Quit: leaving]
devcpu has joined #osdev
devcpu has quit [Quit: leaving]
graphitemaster has quit [*.net *.split]
Amanieu_ has quit [*.net *.split]
riverdc_ has quit [*.net *.split]
cultpony has quit [*.net *.split]
thaumavorio_ has quit [*.net *.split]
klange has quit [*.net *.split]
tds has quit [*.net *.split]
jamestmartin has quit [*.net *.split]
klange has joined #osdev
Amanieu has joined #osdev
cultpony has joined #osdev
graphitemaster_ has joined #osdev
riverdc has joined #osdev
tds has joined #osdev
thaumavorio has joined #osdev
<sdfgsdfgs> that's like.. thanks for stretching me out and filling me up
<sdfgsdfgs> (with information)
<sdfgsdfgs> oh well, 6 hours late for this joke but anyways
<sdfgsdfgs> thanks for feeling my soul, feeling me from the inside, deep inside
<sdfgsdfgs> inside the fountain of knowledge
devcpu has joined #osdev
ElectronApps has joined #osdev
dzwdz has quit [Ping timeout: 268 seconds]
dzwdz has joined #osdev
<vin> Why does cpu (say x86) need to access in word size and not byte size?
<Oli> Data bus size is a word; registers that processor opcodes may use, are word-sized.
<Oli> By the way, hello, vin! I feel curious about: Do you also go by the named of VinsCool?
<vin> Oli: Making data bus size a word seems like an ancient decision. Shouldn't the cost of batch vs burst accesses be relooked with modern technology?
<kazinsal> Most actual accesses are done a cache line at a time for performance
<vin> Oli: no sorry I don't.
<kazinsal> Chances are if you're going to access something at 0x123400, you might be about to access something in the same cache line in the near future
<vin> Right kazinsal but it is weird to require structs to be algined to 4 bytes on x86 because the processor operates on words and not bytes
<vin> imagine all the wasted cycles and bytes that go into padding structs in an average application.
<kazinsal> If you're accessing something unaligned and it spills across one data bus word into another, you need to make two accesses
<Oli> I am yet unfamiliar with the nomenclatures of batch and burst accesses. Thank you vin, for bringing up about, and also replying to my inquiry!
<kazinsal> It's potentially slower to *not* pad structs, and wasting a few dozen bytes per struct is a non issue when you have dozens of gigs of memory on modern machines
<vin> A struct with 10B key and size_t val results in 24B because it needs to be 8B aligned, now I can only fit 2 structs in line unless I create a custom struct that pads the last 10B and allows me to store 3 keys and val.
<Mondenkind> vin: what do you mean, the processor operates on words and not bytes? The processor operates on units of all sizes, from a byte to a cache line
<vin> Mondenkind: Mondenkind I am talking about the min size a processor can operate on. At this point all access are 64B so word size is really redundant
<Mondenkind> if a four-byte access crosses a cache line, performance will be worse
<Mondenkind> aligning all four-byte quantities to a multiple of four bytes prevents this
Vercas9 has joined #osdev
Vercas has quit [Ping timeout: 276 seconds]
Vercas9 is now known as Vercas
<Affliction> x86 can do unaligned accesses, but they might take a performance hit for the reasons above.
<Affliction> Some architectures do not allow them, so they don't have to worry about the additional complexity to implement unaligned accesses
<Affliction> Which could be significant on a smaller microcontrollerish core, for example
C-Man has quit [Ping timeout: 264 seconds]
<Affliction> at any rate, feel free to turn off alignment for that struct, if the wasted memory or reduced cache efficiency causes problems
darkstardevx has quit [Remote host closed the connection]
darkstarx has joined #osdev
jbg has quit [Ping timeout: 245 seconds]
travisg has quit [Ping timeout: 245 seconds]
travisg has joined #osdev
SanchayanMaity has quit [Ping timeout: 245 seconds]
dmj` has quit [Ping timeout: 245 seconds]
jbg has joined #osdev
SanchayanMaity has joined #osdev
dmj` has joined #osdev
dbana has joined #osdev
dbana has quit [Client Quit]
dormito has joined #osdev
gog has joined #osdev
elastic_dog has quit [Quit: elastic_dog]
elastic_dog has joined #osdev
vai has joined #osdev
GeDaMo has joined #osdev
m3a has quit [Quit: leaving]
dormito has quit [Quit: WeeChat 3.1]
jjuran has quit [Ping timeout: 265 seconds]
pretty_dumm_guy has joined #osdev
pretty_dumm_guy has quit [Client Quit]
pretty_dumm_guy has joined #osdev
jjuran has joined #osdev
scoobydoob has joined #osdev
scoobydoo has quit [Ping timeout: 252 seconds]
scoobydoob is now known as scoobydoo
jjuran has quit [Ping timeout: 264 seconds]
Arthuria has joined #osdev
jjuran has joined #osdev
dormito has joined #osdev
ElectronApps has quit [Remote host closed the connection]
isaacwoods has joined #osdev
dormito has quit [Ping timeout: 258 seconds]
dormito has joined #osdev
ElectronApps has joined #osdev
dormito has quit [Ping timeout: 245 seconds]
dormito has joined #osdev
dormito10 has joined #osdev
dormito has quit [Ping timeout: 260 seconds]
dormito has joined #osdev
dormito11 has joined #osdev
dormito10 has quit [Ping timeout: 264 seconds]
dormito12 has joined #osdev
dormito10 has joined #osdev
dormito has quit [Ping timeout: 258 seconds]
dormito has joined #osdev
dormito11 has quit [Ping timeout: 264 seconds]
dormito12 has quit [Ping timeout: 264 seconds]
dennis95 has joined #osdev
dormito10 has quit [Ping timeout: 258 seconds]
ahalaney has joined #osdev
dormito has quit [Ping timeout: 258 seconds]
dude12312414 has joined #osdev
dormito has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
dormito has quit [Ping timeout: 264 seconds]
srjek has joined #osdev
nyah has joined #osdev
[itchyjunk] has joined #osdev
dennis95_ has joined #osdev
dennis95 has quit [Ping timeout: 260 seconds]
zacque has quit [Quit: Goodbye :D]
vai has quit [Ping timeout: 260 seconds]
sprock has quit [Ping timeout: 252 seconds]
dennis95__ has joined #osdev
dennis95_ has quit [Ping timeout: 258 seconds]
gxt has quit [Remote host closed the connection]
gxt has joined #osdev
dormito has joined #osdev
dennis95 has joined #osdev
dennis95__ has quit [Ping timeout: 245 seconds]
dormito has quit [Ping timeout: 258 seconds]
thaumavorio has quit [Quit: ZNC 1.8.2 - https://znc.in]
thaumavorio has joined #osdev
C-Man has joined #osdev
dennis95 has quit [Ping timeout: 245 seconds]
ElectronApps has quit [Remote host closed the connection]
Oli has quit [Ping timeout: 268 seconds]
Oli has joined #osdev
srjek|home has joined #osdev
srjek has quit [Ping timeout: 245 seconds]
[itchyjunk] has quit [Remote host closed the connection]
sprock has joined #osdev
lg has quit [Ping timeout: 264 seconds]
sprock has quit [Ping timeout: 245 seconds]
jborgner has joined #osdev
isaacwoods has quit [Ping timeout: 258 seconds]
isaacwoods has joined #osdev
sprock has joined #osdev
mahmutov_ has joined #osdev
divine has quit [Quit: leaving]
divine has joined #osdev
srjek|home has quit [Ping timeout: 264 seconds]
lg has joined #osdev
srjek|home has joined #osdev
<Bitweasil> Aw. :( Those new M1 Max and M1 Pro chips look good.
<Bitweasil> DOUBLE the DRAM bandwidth on the big one? Not like the M1 was a slacker in DRAM bandwidth...
<j`ey> 10core is cool, especially when it doubles the number of big cores
<Bitweasil> Yeah, I guess they got the data from the M1 that you can cut the efficiency cores back and still be fine.
<j`ey> and 32G+ ram
<Bitweasil> Yeah, 64 on the big one.
<jimbzy> Yeah, they are pretty awesome.
srjek|home has quit [Ping timeout: 264 seconds]
<zid> yea that was always going to be the problem scaling m1, memory bw.. just going sideways and adding more channels'll do it
<Bitweasil> Sure seems like it did!
<Bitweasil> I'll be interested to see the benchmarks.
* Bitweasil soldiers on with... idk, what's a Pi4 got, a couple gig a second?
<Bitweasil> *runs mbw*
<Bitweasil> Heh. If that.
<Bitweasil> AVGMethod: MEMCPYElapsed: 0.33662MiB: 512.00000Copy: 1520.993 MiB/s
<jason1234> hello
<Bitweasil> AVGMethod: DUMBElapsed: 0.28403MiB: 512.00000Copy: 1802.642 MiB/s
<Bitweasil> AVGMethod: MCBLOCKElapsed: 0.19544MiB: 512.00000Copy: 2619.695 MiB/s
<Bitweasil> Hello!
<jason1234> is it possibel to boot grub on my USB sdb from the /dev/sda (small size) ?
<jason1234> I have about 1000 (count) on size on mbr / sda available, after > 1000 bad blocks
<jason1234> currently I use lilo (very small).
<jason1234> grub wont fit, it is too bit
<jason1234> lilo is smaller.
<jason1234> but I would like a bit of like mikeos or alike to learn boot in assembly.
<Bitweasil> The ODroid N2+ is better, 3092/3025/5454 on those tests.
<Bitweasil> erm.
<jason1234> it is a amd64
<Bitweasil> If you have a bunch of bad blocks, just replace the USB stick.
<Bitweasil> But booting from USB should be doable.
<jason1234> it is bad blaock on hte harddisk
XgF has quit [Remote host closed the connection]
<jason1234> i screewed hte harddisk due to systemd
<jason1234> i got crazy to wait for systemd !
<jason1234> I press and hold 0/1
XgF has joined #osdev
<Bitweasil> No idea what that means. Yes, you can put a bootloader on a USB stick and boot from the hard drive, if you want, but if you have bad sectors on the drive, replace the drive.
<jason1234> i want to boot the boot loaeder on sda to boot on the usb then after
<jason1234> is there a little code for that?
<jason1234> amd64/ibm
<Bitweasil> Sure, standard x86 bootloaders should do it.
<jason1234> the asm code <= 512, shall call the USB driver (asm), and then init hte boot on the USB pendreive (on pendrive that will be live netbsd "https://gitlab.com/openbsd98324/netbsd-live/-/raw/master/live/9.1/amd64/v5/netbsd-live-image-2000mb-v5.img.gz" with grub on it)
<jason1234> do we have a little very little "x86 bootloaders" asm code or sthg available?
<Bitweasil> I mean, I don't, personally.
<jason1234> there are likely many many, but we havent a database where to look for.
<jason1234> only mikeos, has a USB handlers into the code.
scoobydoo has quit [Ping timeout: 260 seconds]
<jason1234> any ideas?
<jason1234> no #mikeos :(
mctpyt has quit [Remote host closed the connection]
mctpyt has joined #osdev
<Bitweasil> Sorry, no ideas.
<Bitweasil> I don't think you need a USB handler for what you want to do, if the BIOS can present the USB drive as a hard drive.
sprock has quit [Ping timeout: 258 seconds]
<jason1234> no worries
<jason1234> thank you kanynhow
scoobydoo has joined #osdev
mctpyt has quit [Remote host closed the connection]
mctpyt has joined #osdev
vai has joined #osdev
GeDaMo has quit [Remote host closed the connection]
henistein has joined #osdev
junon has joined #osdev
Arthuria has quit [Ping timeout: 264 seconds]
m3a has joined #osdev
pretty_dumm_guy has quit [Ping timeout: 258 seconds]
pretty_dumm_guy has joined #osdev
nvmd has quit [Quit: Later, nerds.]
henistein has quit [Quit: Client closed]
ahalaney has quit [Quit: Leaving]
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
sprock has joined #osdev
mahmutov has joined #osdev
mahmutov_ has quit [Ping timeout: 258 seconds]
mahmutov has quit [Ping timeout: 260 seconds]
k60 has joined #osdev
dude12312414 has joined #osdev
k60 has quit [Quit: k60]
k60 has joined #osdev
k60 has quit [Client Quit]
k60 has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.3]
k60 has quit [Ping timeout: 260 seconds]
orthoplex64 has joined #osdev