Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
81 user(s) are online (62 user(s) are browsing Forums)

Members: 1
Guests: 80

Capehill, more...

Support us!

Headlines

 
  Register To Post  

(1) 2 3 »
qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@all
I use qemu with peg2 version of os4 + bboot. My boot line are:

Quote:

qemu-system-ppc -machine pegasos2 -m 2048 -kernel bboot\bboot -initrd bboot\Kickstart.zip -vga none -device sm501 -drive if=none,id=hd,file=os4.img,format=raw -device ide-hd,drive=hd,bus=ide.0 -device rtl8139,netdev=n1 -netdev tap,id=n1,ifname="TAP0",script=no,downscript=no -rtc base=localtime -display gtk -serial stdio -device usb-storage,drive=fat32 -drive file=fat:rw:d:\sharing,id=fat32,format=raw,if=none -device usb-kbd -append "serial debuglevel=5"


On my previous notebook which were "ASUS TUF Gaming A17 FA706NF-HX031" and which had AMD Ryzen 5 7535HS with base 3.3 ghz per core and all those nvmes/ddr5 and co, i have exactly 15 seconds after i run this command till fully loaded WB.

Now, i do have another notebook, which have AMD Ryzen 7 8845HS with 3.8ghz as default per single core, and also all that ddr5/nvme/etc, and, the same 15 seconds (i were kind of expect a bit of speed up there).

The boot of modules via bbot happens very fast, it takes just one second, then 5 seconds for black screen, then 5 seconds for amigaos4.1 logo, and few seconds to have ready to use WB. As i need offten to reboot, and 15 seconds almost fits fine, i still need it to be a bit faster, like, 10 seconds. Is there any way to archieve this ? Commenting out unnecessary modules didn't help much :(

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: qemu boot times, how to make it be faster ?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

I have found the biggest speed boost is placing the qemu installation and hard drive file on the quickest drive you have.

nvme <- ssd <- sata <- network

Other than that, not too much in it besides pure single-core cpu speed.

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@kas1e
Quote:
Commenting out unnecessary modules didn't help much :(
MODULE Kickstart/bootimage should be optional.
If you are using image files (cached by the host disk caches already) for your AmigaOS disks, instead of direct HW access like a passed-through AmigaOS-only nvme, remove/disable any AmigaOS disk caches, in case of SFS comment out diskcache.library.kmod from the kicklayout.
Probably wont help much for booting though, maybe 0.5 sec. less, but disabling such useless double disk caching should help for general disk access speed.

Removing Quote:
-device usb-storage,drive=fat32 -drive file=fat:rw:d:\sharing,id=fat32,format=raw,if=none
could help. Not using it made huge differences in some QEmu benchmarks. Use NFS, FTP, Samba, etc. instead for file transfers between host and guest.

Go to top
Re: qemu boot times, how to make it be faster ?
Just can't stay away
Just can't stay away


See User information
@kas1e

I think a boot time of 15 seconds is perfectly fine. On my MacStudio M1, it takes about 20 seconds to boot Pegasos2.

Strangely, it only takes about 13 seconds on the AmigaOneXe machine. Both machines are configured with BBoot and SFS as the file system. (diskcache) is disabled in the kick layout.

Both disk images, Pegasos2/AmigaOneXe, are stored on the fastest SSD.

The only difference is the Qemu build: Pegasos2 with Qemu9.x and AmigaOneXe with Qemu 10.




MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@derfs
Qemu and it's images already on nvme v4 disk, which probably today the fastest, and ddr5 5600 memory as well.
Quote:

Other than that, not too much in it besides pure single-core cpu speed.


I can say after my tests on 4-5 different notebooks, that single-core cpu speed seems not make THAT big impact starting from 2ghz single core (at least to some point) on the boot time speed. I do have 15 seconds on 2 different laptops as i say, one of which is older ryzen with 3.3ghz, and another one is more or less modern ryzen with 3.8 ghz , and speed exactly the same. And about same on older, 2.5ghz one.

@joerg
Quote:

-device usb-storage,drive=fat32 -drive file=fat:rw:d:\sharing,id=fat32,format=raw,if=none
could help. Not using it made huge differences in some QEmu benchmarks. Use NFS, FTP, Samba, etc. instead for file transfers between host and guest.

But we discuss it few time there already : it's the only way to exchange data between qemu and windows :( as network didn't work with any drivers (be ones from os4welt, or latest beta, or previous ones). Just some of them didn't crashes, but still stalls, and slow like hell. So only usb-way, nothing else.

Yes, if i remove this i have 12 seconds of boot instead of 15, but i can't then exchange data which is must :(

Quote:

instead of direct HW access like a passed-through AmigaOS-only nvme

This one probably can't be faster than just os4.img , right ?


Quote:

I think a boot time of 15 seconds is perfectly fine. On my MacStudio M1, it takes about 20 seconds to boot Pegasos2.


If 15 seconds were fine for me, why i create topic then ?:) I need 10 seconds at least because this is time which i didn't noticed when i restart os4 between sessions, while 15 seconds is something i noticed.

And anyway, i feel it can be done, just something need to be altered and tweaked.

ps. i am on qemu 10.0.0 just in case

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: qemu boot times, how to make it be faster ?
Just can't stay away
Just can't stay away


See User information
@kas1e

Quote:

If 15 seconds were fine for me, why i create topic then ?:) I need 10 seconds at least because this is time which i didn't noticed when i restart os4 between sessions, while 15 seconds is something i noticed.

And anyway, i feel it can be done, just something need to be altered and tweaked.

ps. i am on qemu 10.0.0 just in case


I'm curious to see how you plan to do that You're late - all this was tested about a year ago. If it can be optimized, you are my hero.

There is another option that I also use, which is to transfer a real hard disk to Qemu. I already reported on this here on Amigans. The boot time here is around 15 seconds.

-drive format=raw,file=/dev/disk7s2


It won't be of much use to you since I set it up on MacOS, but it's possible without any problems. Due to the formatting, this hard drive is not visible on MacOS and is not mounted.


Edited by Maijestro on 2025/8/5 21:20:01
MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: qemu boot times, how to make it be faster ?
Not too shy to talk
Not too shy to talk


See User information
@kas1e
I on Qemu-8 Peg2 Mac Mini M1 have 12.4 seconds from usb-storage. I have kmod locked in Kicklayout which I don't need. In addition, enabled nvme.device and plugged in disk image

qemu-system-ppc -M pegasos2 -m 2048 -kernel ./bboot/bboot -initrd ./bboot/Kickstart-pegasoszip -rtc base=localtime --serial stdio -vga none -device sm501 -device rtl8139,netdev=mynet0 -netdev user,id=mynet0 -k pc-bios/keymaps/common -display cocoa,gl=core,full-screen=on,zoom-to-fit=on -device ide-hd,drive=hd-drive,bus=ide.0 -drive file=peg.img,if=none,id=hd-drive,format=raw -device ide-hd,drive=hd-drive2,bus=ide.1 -drive file=sam460.img,if=none,id=hd-drive2,format=raw -cpu apollo7 -drive file=fat:rw:/tmp,id=ufat,format=raw,if=none -device usb-storage,drive=ufat -drive file=SDK.hdf,if=none,id=nvm -device nvme,serial=deadbeef,drive=nvm

I continue to use Qemu-8 from the qemu-virgl pod under Mac:
https://gist.github.com/akihikodaki/87 ... 9e7ca87f18dc56807ec5a1bc5
and a patch from qemu-3dfx:
https://github.com/kjliew/qemu-3dfx
and a several other fixes. My version is not “measurable” by reference to publicly available versions.
I built this version/combine once and still stick to it under macOS
But this is Qemu under macOS - there are some faster sessions and some slower ones.
You can try reloading usb-storage with a script via monitor. Then you won't need to restart QEMU to access files via usb-storage.

Go to top
Re: qemu boot times, how to make it be faster ?
Not too shy to talk
Not too shy to talk


See User information
@kas1e

Quote:
kas1e wrote:
AMD Ryzen 7 8845HS with 3.8ghz as default per single core

That should hit 5.1GHz on a single core, so as long as you have tried with power saving off, there is not much more at this time you can do other than use the amigaone machine as it has *slightly* faster boot times.

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@smarkusg
Quote:
In addition, enabled nvme.device and plugged in disk image
Maybe it doesn't make much difference for NGFileSystem, but if you don't have it (the current NGF\1 version is AFAIK only available to X5000 and A1222 users, the old NGF\0 shouldn't be used anymore) and are using FFS or SFS instead nvme.device should be faster than the AmigaOS SATA drivers.

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@kas1e
Quote:
Quote:
instead of direct HW access like a passed-through AmigaOS-only nvme
This one probably can't be faster than just os4.img , right ?
Not with the same AmigaOS driver.
If you are using a SATA or SCSI AmigaOS driver for the image file direct hardware access to a NVME with nvme.device could be faster, but that's not possible on Windows host anyway.

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@kas1e
Try if compressing the kickstart modules reduces the boot time (less data to be loaded, but more CPU time and RAM required), IIRC gzip and bzip2 were supported on the A1 (U-Boot and/or SLB_v2).
It's unusable slow on real hardware because U-Boot is executed with CPU caches disabled, but for emulation that's irrelevant.

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@derfs
Quote:
I have found the biggest speed boost is placing the qemu installation and hard drive file on the quickest drive you have.

nvme <- ssd <- sata <- network
Additionally the speed (protocol overhead) of the guest OS disk drivers:
nvme <- scsi <- sata <- pata <- usb

Go to top
Re: qemu boot times, how to make it be faster ?
Not too shy to talk
Not too shy to talk


See User information
@joerg
Quote:
Maybe it doesn't make much difference for NGFileSystem, but if you don't have it (the current NGF\1 version is AFAIK only available to X5000 and A1222 users, the old NGF\0 shouldn't be used anymore) and are using FFS or SFS instead nvme.device should be faster than the AmigaOS SATA drivers.


I use JXFS as my system partition. It is much faster than SFS2.
I have no way to test NGFileSystem, I have only seen NGFileSystem comparison tests. I asked in a private message on the hyperion forum the driver's author to provide some version for the test but got no answer.
SFS2 on nvme.device is slower than SFS2 SATA and FFS under AOS4 but .... JXFS is the fastest. It is possible that it would be super fast on nvme.device.

Maybe not a reliable test because I have small partitions and drives clogged up but when copying a file of about 300MB you can see the difference. I currently have SFS2, JXFS and FFS under QEMU PEG2.

FFS:
Resized Image
JXFS:
Resized Image
SFS2:
Resized Image

This is a very simple test. To make it more reliable it would require checking the exact BlockSize and Buffers settings.

* JXFS on AOS4FE works but requires some trick without file substitution. JXFS needs to be “learned to use” and you can lose data by doing so - that's why I won't specify what you need to do( doesn't require swapping files from older versions of AOS4).
** The ‘nvme.device’ driver is no longer available. The author has prohibited its distribution.

Go to top
Re: qemu boot times, how to make it be faster ?
Not too shy to talk
Not too shy to talk


See User information
@smarkusg
Quote:
smarkusg wrote:
@joerg
I use JXFS as my system partition. It is much faster than SFS2.

This made me smile as @joerg wrote both, so he knows.
Quote:
* JXFS on AOS4FE works but requires some trick without file substitution.

Dont use JXFS - It was discontinued starting with 4.1 Final Edition for a reason. Look on this forum for old posts if you want to learn more.

Go to top
Re: qemu boot times, how to make it be faster ?
Not too shy to talk
Not too shy to talk


See User information
@derfs
Quote:
Dont use JXFS - It was discontinued starting with 4.1 Final Edition for a reason. Look on this forum for old posts if you want to learn more.

I used JXFS as a system drive for over a year , as I wrote you have to know what this system can mess up. Once you learn it works well and it repays you with ‘speed’

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@smarkusg
Quote:
I use JXFS as my system partition. It is much faster than SFS2.
JXFS is much faster... at least at destroying your data 🙃
There where several reasons why Joerg's eXperimential File System never should have been made available to any end users, but at best only to beta testers..

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@joerg
Quote:

Try if compressing the kickstart modules reduces the boot time (less data to be loaded, but more CPU time and RAM required), IIRC gzip and bzip2 were supported on the A1 (U-Boot and/or SLB_v2).


I didn't tried that, because loading of modules takes just 1 or maximum 2 seconds.

Seeing serial output i can say that this part:

PS C:\Program Files\qemu> .\qemu-system-ppc -machine pegasos2 -m 2048 -kernel bboot\bboot -initrd bboot\Kickstart.zip -vga none -device sm501 -drive if=none,id=hd,file=os4.img,format=raw -device ide-hd,drive=hd,bus=ide.0 -device rtl8139,netdev=n1 -netdev tap,id=n1,ifname="TAP0",script=no,downscript=no  -rtc base=localtime -display gtk -serial stdio -device usb-storage,drive=fat32 -drive file=fat:rw:d:\sharing,id=fat32,format=raw,if=none -device usb-kbd -append "serial debuglevel=5"

BBoot 0.7 (15.4.2024)
/
pci@80000000io fe000000/10000 mem 80000000/40000000
/pci@80000000/host:     0:0.0   11ab:6460 60000 646011ab 0000 7
Added assigned
-addresses
/pci@80000000/display:  0:1.0   126f:0501 38000 0501126f 0000 0
Added assigned
-addressesset interrupt 0009
  
2000810        0 80000000         0  4000000  00000000 80000000
  2000814        0 84000000         0   200000  
00000000 84000000
/pci@80000000/ethernet0:2.0   10ec:8139 20000 813910ec 0100 0
Added assigned
-addressesset interrupt 0109
  
1001010        0 fe001200         0      100  00000001 00001201
  2001014        0 84200000         0      100  
00000000 84200000
  2001030        0 84240000         0    40000  
00000000 84240000
/pci@80000000/isa:      0:c.0   1106:8231 60100 82311106 0000 8
Added assigned
-addresses
/pci@80000000/ide:      0:c.1   1106:0571 1018f 05711106 010e 87
Added assigned
-addresses
  1006110        0 fe001000         0        8  
00000001 00001001
  1006114        0 fe001008         0        4  
00000001 ! 00001009
  
1006118        0 fe001010         0        8  00000001 00001011
  100611c        0 fe001018         0        4  
00000001 ! 00001019
  
1006120        0 fe001020         0       10  00000001 00001021
/pci@80000000/usb:      0:c.2   1106:3038 c0300 30381106 0409 7
Added assigned
-addresses
  1006220        0 fe001040         0       20  
00000001 00001041
/pci@80000000/usb:      0:c.3   1106:3038 c0300 30381106 0409 7
Added assigned
-addresses
  1006320        0 fe001060         0       20  
00000001 00001061
/pci@80000000/other:    0:c.4   1106:8235 68000 82351106 0009 0
Added assigned
-addresses
/pci@80000000/sound:    0:c.5   1106:3058 40100 30581106 0309 4
Added assigned
-addresses
  1006510        0 fe001100         0      100  
00000001 00001101
  1006514        0 fe001030         0        4  
00000001 00001031
  1006518        0 fe001034         0        4  
00000001 00001035
/pci@80000000/pci1106,3068:     0:c.6   1106:3068 78000 30681106 0309 30
Added assigned
-addresses
/pci@c0000000io f8000000/10000 mem c0000000/20000000
/pci@c0000000/host:     0:0.0   11ab:6460 60000 646011ab 0000 7
Added assigned
-addresses
Checking initrd at 0x600000
-0x9885de (3704286 bytes)
Found zip with 68 entries
Parsing Kicklayout at 0x9885de 
(3369 bytes)
Booting config 1AmigaOS_4.1_Final_Edition
Loading loader
.of
Loading kernel
Loading FastFileSystem
Loading SmartFilesystem
Loading peg2ide
.device.kmod
Loading battclock
.resource.kmod
Loading bootmenu
.kmod
Loading bootimage
Loading CDFileSystem
Loading con
-handler.kmod
Loading console
.device.kmod
Loading diskboot
.kmod
Loading diskboot
.config
Loading dos
.library.kmod
Loading elf
.library.kmod
Loading env
-handler.kmod
Loading FileSystem
.resource.kmod
Loading gadtools
.library.kmod
Loading gameport
.device.kmod
Loading graphics
.library.kmod
Loading hunk
.library.kmod
Loading input
.device.kmod
Loading intuition
.library.kmod
Loading keyboard
.device.kmod
Loading keymap
.library.kmod
Loading newlib
.library.kmod
Loading nonvolatile
.library.kmod
Loading nvram
.config
Loading ps2
.resource.kmod
Loading ram
-handler.kmod
Loading ramdrive
.device.kmod
Loading ramlib
.kmod
Loading shell
.kmod
Loading strap
.kmod
Loading timer
.device.kmod
Loading PCIGraphics
.card
Loading siliconmotion502
.chip
Loading petunia
.library.kmod
Loading usbresource
.library
Loading usbsys
.device
Loading hub
.usbfd
Loading bootmouse
.usbfd
Loading bootkeyboard
.usbfd
Loading massstorage
.usbfd
Loading uhci
.usbhcd
Loading ohci
.usbhcd
Loading ehci
.usbhcd
Loading mounter
.library
Starting exec
graphics
.library AltiVec/VMX enabled
graphics
.library PPC74xx optimizations enabled
CURRENT_POWER_CLOCK 2A1A0A09
 SYSTEM_CTRL PRE 00100000
 SYSTEM_CTRL POST 20108070
 MISC_CTRL PRE 00100001
 MISC_CTRL POST 00700001
 MISC_TIMING 00000000


Takes just 2 seconds max. Maybe 1,5. but no more than 2 seconds. There all fine and fast enough already. All modules loads up to the memory fast enough.

Then, right after this stage after "MISC_TIMING 000000", qemu window resizes, and i have for about 4 seconds there happens visually nothing. Dunno what happens at this stage, and why it slow, but probably lot of emulated code executes..

Then, after this 4 seconds wait, i have immiediately (less than in 1 second) this output together with amigaos4.1 logo showup:

peg2ide.device 53.22 (28.6.2017)
[
peg2ide/dev_initXfer modes forced in $peg2ide_xfer FFFF
[peg2ide/dev_initIRQ modes forced in $peg2ide_irq 1111
[peg2ide/dev_initFound chip #0
[peg2ide/init_port] ---> Port 0
[peg2ide/init_portIOBase 00001000AltBase 0000100A
[peg2ide/init_portbmcr_base 00001020
[peg2ide/init_portMMIOBase 00000000
[peg2ide/init_portConfig not forcedscanning port 0...
[
peg2ide/reg_configassuming device 0 is TYPE_NONE
[peg2ide/reg_configassuming device 1 is TYPE_NONE
[peg2ide/reg_configthere seems to be a device 0assuming TYPE_UNKN
[peg2ide/reg_configthere seems to be a device 1assuming TYPE_UNKN
[peg2ide/reg_configdevice 0 is ATA
[peg2ide/reg_configdevice 1 is unknown (sc 01 sn 01 cl FF ch FF st 00
[peg2ide/init_port1 device(son port
[peg2ide/port_list]  0 Master 'ATA'
[peg2ide/port_list]  1 Slave  'unknown type'
[peg2ide/init_portStarting 'peg2ide.device - chip 0 port 0' task
[peg2ide/init_unitTrying to configure unit 0
000
0040 1041 0000 0010 7E00 0200 003F 0000
008: 0000 0000 514D 3030 3030 3120 2020 2020
016
2020 2020 2020 2020 0003 0200 0004 322E
024
352B 2020 2020 5145 4D55 2048 4152 4444
032
4953 4B20 2020 2020 2020 2020 2020 2020
040
2020 2020 2020 2020 2020 2020 2020 8010
048: 0001 0B00 0000 0200 0200 0007 1041 0010
056
003F FFF0 003F 0110 0000 0040 0007 0007
064
0003 0078 0078 0078 0078 4000 0000 0000
072
0000 0000 0000 0000 0000 0000 0000 0000
080: 00F0 0016 4021 7400 4000 4021 3400 4000
088: 203F 0000 0000 0000 0000 6001 0000 0000
096: 0000 0000 0000 0000 0000 0040 0000 0000
104
0000 0000 6000 0000 0000 0000 0000 0000
112
0000 0000 0000 0000 0000 0000 0000 0000
120
0000 0000 0000 0000 0000 0000 0000 0000
128
0000 0000 0000 0000 0000 0000 0000 0000
136
0000 0000 0000 0000 0000 0000 0000 0000
144
0000 0000 0000 0000 0000 0000 0000 0000
152
0000 0000 0000 0000 0000 0000 0000 0000
160
0000 0000 0000 0000 0000 0000 0000 0000
168
0000 0001 0000 0000 0000 0000 0000 0000
176
0000 0000 0000 0000 0000 0000 0000 0000
184
0000 0000 0000 0000 0000 0000 0000 0000
192
0000 0000 0000 0000 0000 0000 0000 0000
200
0000 0000 0000 0000 0000 0000 0000 0000
208
0000 0000 0000 0000 0000 0000 0000 0000
216
0000 0000 0000 0000 0000 0000 0000 0000
224
0000 0000 0000 0000 0000 0000 0000 0000
232
0000 0000 0000 0000 0000 0000 0000 0000
240
0000 0000 0000 0000 0000 0000 0000 0000
248
0000 0000 0000 0000 0000 0000 0000 0000
[peg2ide/ata_read_drive_propertiesUnit 0 LBA48-capable but LBA28 size
[peg2ide/ata_read_drive_propertiesmulti_count 16
[peg2ide/ata_read_drive_propertiesAdjusting unit 0 to xfer mode 69
[peg2ide/init_unitUnit configuredflags $0185
[
peg2ide/init_unitTrying to configure unit 1
[peg2ide/ata_read_drive_propertiesAfter-reset signature invalid for unit 1
[peg2ide/init_portPort 0 task started
[peg2ide/init_port] ---> Port 1
[peg2ide/init_portIOBase 00001010AltBase 0000101A
[peg2ide/init_portbmcr_base 00001028
[
peg2ide/init_portMMIOBase 00000000
[peg2ide/init_portConfig not forcedscanning port 1...
[
peg2ide/reg_configassuming device 0 is TYPE_NONE
[peg2ide/reg_configassuming device 1 is TYPE_NONE
[peg2ide/reg_configthere is no device 0 (sc 00 sn 00)
[
peg2ide/reg_configthere is no device 1 (sc 00 sn 00)
[
peg2ide/init_port0 device(son port
[peg2ide/dev_initAll done
[mediabootDiskboot is presentSkip mounting static devices.


So this part fast, and then, after that part, remain 8-9 seconds looses doing this:

[mediabootDiskboot is presentSkip mounting static devices.
[
USBWARNING "MassStorage Device Task" "Massstorage" Created usbdisk.device/0
[bootmenuDetected machine type Pegasos II
[bootmenuNo preferred BootDevice specified
[bootmenuPreferred keyboard device is "keyboard.device" unit 0
[bootmenuPeekQualifier(): LMB is upMMB is upRMB is up
[bootmenuInput handler installed
[bootmenuWaiting 100 ticks for user input
[bootmenuNo user input detected within wait loop
[bootmenuRemoved input handler
[bootmenuPeekQualifier(): LMB is upMMB is upRMB is up
[bootmenuContinuing normal boot sequence
[strapBegin
[strapSkipping non-boot node 0x6FFA83E2 (type 111)
[
strapDevice node "DH0" is boot point device
[strapHandover to dos for "DH0"

[DOSStarting DOS 54.112 -- Kernel debug level is 5
[DOSBootnode from expansion->mountlist is device name "DH0"
[DOS"Initial CLI" process starteddoslib creation task now ending.

[
RAMHandler has started successfully. [DebugLevel=5]
Mode 1600x1200x 8@60 75.0kHz out of range
372
HSync Min/Max 30900/70100calc 75000VSync Min/Max 59/71calc 60
Valid ranges are vsync 59 
71hzhsync 30900 70100hz
Mode 1600x1200x16
@60 75.0kHz out of range
372
HSync Min/Max 30900/70100calc 75000VSync Min/Max 59/71calc 60
Valid ranges are vsync 59 
71hzhsync 30900 70100hz
[USBERROR "hid.usbfd" "DoControlXfer" Destall failedio_Error = -32
[USBERROR "HID Keyboard" "HID Keyboard" Undefined raw keyusage=0x00070000
[USBERROR "HID Keyboard" "HID Keyboard" Undefined raw keyusage=0x00070000
[USBERROR "HID Keyboard" "HID Keyboard" Undefined raw keyusage=0x00070000
[USBERROR "HID Keyboard" "HID Keyboard" Undefined raw keyusage=0x00070000
[USBERROR "HID Keyboard" "HID Keyboard" Undefined raw keyusage=0x00070000
[USBERROR "HID Keyboard" "HID Keyboard" Undefined raw keyusage=0x00070000
[DOS ELF_LSNOTENo _start() found in file "LhA" installing dummy_start().


And os loaded.

So, the most time is spend at stage when qemu doing something 4 secs till amigaos4 logo show up, and 8 secs when actually loading happens with all those medias and co..

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: qemu boot times, how to make it be faster ?
Just can't stay away
Just can't stay away


See User information
@kas1e

[quote]
USBERROR “hid.usbfd” “DoControlXfer” Destall failedio_Error = -32
[USBERROR “HID keyboard” “HID keyboard” Undefined raw key: Use=0x00070000
[USBERROR “HID keyboard” “HID keyboard” Undefined raw key: Use=0x00070000
[USBERROR “HID keyboard” “HID keyboard” Undefined raw key: Use=0x00070000
[USBERROR “HID keyboard” “HID keyboard” Undefined raw key: Use=0x00070000
[USBERROR “HID keyboard” “HID keyboard” Undefined raw key: Use=0x00070000
[USBERROR “HID keyboard” “HID keyboard” Undefined raw key: Use=0x00070000[/quote]


In the last part of your debug log, there are some error messages that occur repeatedly. Perhaps this is the problem. It is possible that the emulation stops here, tries again a few times, and then uses some kind of fallback.

Faulty USB emulation or USB driver problem? If I'm talking nonsense here, just ignore my comment

We could compare it with the AmigaOneXE machine and see if the same problem occurs here with kernel debug level 5. If you are interested in such a log, please let me know.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE / AmigaOne x5000/40 AmigaOs4.1 FE
Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@kas1e
Try removing the bootlogo and if you don't need it the bootmenu.kmod.

On the A1 with only a single HD/image file you should use
setenv ide_maxbus 1setenv a1ide_maxbus 1setenv a1ide_timeout 1saveenv
, but on the Peg2 emulation it may still not be possible to use firmware env variables, or maybe it's with the nvram text file kickstart module from the classic Amiga version of nvram.resource instead.
You may need to use something like peg2ide_maxbus and peg2ide_timeout instead, check sg2's driver docs.

Remove/comment out everything in diskboot.config you don't use (SCSI, SATA, etc. drivers).

Other than that you'd need to increase the debuglevel, for example to 7, or if required up to 10, to check in which kickstart modules the delays are.

Go to top
Re: qemu boot times, how to make it be faster ?
Home away from home
Home away from home


See User information
@joerg
Removing bootimage and bootmenu.kmod modules, together with commenting out everything non need it in diskboot.config, result now in 12 seconds boot instead of 15, which is good ! If remove USB stick, then it 10 seconds. But i need those 10 seconds with USB stick :)

Quote:

but on the Peg2 emulation it may still not be possible to use firmware env variables, or maybe it's with the nvram text file kickstart module from the classic Amiga version of nvram.resource instead.
You may need to use something like peg2ide_maxbus and peg2ide_timeout instead, check sg2's driver docs.


On peg2 there in kickstart 2 files: nvram.config and nvram_nodma.config, and both with same content:

peg2ide_xfer=FFFF
peg2ide_irq=1111

added to both:

peg2ide_maxbus=1
peg2ide_timeout=1

But so far not changes, will dig into docs , maybe params are different.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
(1) 2 3 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project