[PTLsim-devel] new ptlsim release problem (rev221)

Sasa Tomic
Wed Sep 19 10:37:19 EDT 2007


here is (in attachment) an important part of the logfile, created with 
the -loglevel 99, and an SMT core.
after this moment the simulator starts doing nothing...


Sasa Tomic wrote:
> Actually, the simulator now works "more often". :(
> And the script you gave didn't change anything :(
>
> here is the xen console command I used for the switch and command:
> -------
> sudo xm create ptlvm -c
> ...
> $ ptlctl -core seq -run
> $ ls
> -------
> (it doesn't change anything if I switch from domain-0, with the ptlsim 
> executable)
>
> here's the dump from the ptlsim executable window:
> -------
>   PTLsim upcall:                  event channel   16
>
>   Switched to native mode
> Breakout request received from native mode
>   Switched to simulation mode
> Returned from switch to native: now back in sim
> Waiting for request...
> Processing -core seq -run
> Switching to simulation core 'seq'...
> Stopping after 9223372036854775807 commits
>   Completed             0 cycles,             0 commits:         0 
> cycles/sec,         0, insns/sec: rip 0xffffffff802063aa (run  
> Completed         53652 cycles,        209373 commits:    268258 
> cycles/sec,   1046861, insns/sec: rip (blocked) (running) 0x4  
> Completed       1044207 cycles,        254919 commits:   4952772 
> cycles/sec,    227729, insns/sec: rip (blocked) (running) (bl  
> Completed       2345016 cycles,        255690 commits:   6504038 
> cycles/sec,      3854, insns/sec: rip (blocked) (running) (bl  
> Completed       3650895 cycles,        255690 commits:   6529388 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed       4934996 cycles,        262858 commits:   6420500 
> cycles/sec,     35839, insns/sec: rip (blocked) (running)
> ...
>   Completed    1561566035 cycles,       1264601 commits:   6972682 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1562960656 cycles,       1264601 commits:   6973104 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1564199109 cycles,       1277424 commits:   6192264 
> cycles/sec,     64114, insns/sec: rip (blocked) (running) (bl  
> Completed    1565491013 cycles,       1277424 commits:   6459519 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1566885784 cycles,       1277424 commits:   6973851 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1568280360 cycles,       1277424 commits:   6972876 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1569675905 cycles,       1277424 commits:   6977722 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1571071089 cycles,       1277424 commits:   6975912 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1572465379 cycles,       1277424 commits:   6971446 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1573901668 cycles,       1277424 commits:   7181439 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1575297227 cycles,       1277424 commits:   6977792 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1576692960 cycles,       1277424 commits:   6978662 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1578003610 cycles,       1277424 commits:   6553249 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1579398330 cycles,       1277424 commits:   6973599 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1580793530 cycles,       1277424 commits:   6975995 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1582193108 cycles,       1277424 commits:   6997890 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1583602698 cycles,       1277424 commits:   7047949 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1584996353 cycles,       1277424 commits:   6968270 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1586347114 cycles,       1277424 commits:   6753799 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1587639068 cycles,       1277424 commits:   6459767 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1589044085 cycles,       1277424 commits:   7025043 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1590382120 cycles,       1277424 commits:   6690168 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1591677962 cycles,       1277424 commits:   6479206 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1593035891 cycles,       1277424 commits:   6789643 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1594328201 cycles,       1277424 commits:   6461546 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1595723325 cycles,       1277424 commits:   6975617 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1596981009 cycles,       1290277 commits:   6288419 
> cycles/sec,     64264, insns/sec: rip (blocked) (running) (bl  
> Completed    1598273036 cycles,       1290277 commits:   6460131 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1599562578 cycles,       1290277 commits:   6447705 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1600848655 cycles,       1290277 commits:   6430380 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1602139198 cycles,       1290277 commits:   6452713 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1603534703 cycles,       1290277 commits:   6977522 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1604980478 cycles,       1290277 commits:   7228872 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1606448449 cycles,       1290277 commits:   7339850 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1607842735 cycles,       1290277 commits:   6971423 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1609238102 cycles,       1290277 commits:   6976828 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1610633996 cycles,       1290277 commits:   6979467 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1612029342 cycles,       1290277 commits:   6976727 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1613329204 cycles,       1290277 commits:   6499306 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1614724972 cycles,       1290277 commits:   6978835 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1616132869 cycles,       1290277 commits:   7039480 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1617527234 cycles,       1290277 commits:   6971821 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1618920165 cycles,       1290277 commits:   6964649 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl  
> Completed    1620314865 cycles,       1290277 commits:   6973500 
> cycles/sec,         0, insns/sec: rip (blocked) (running) (bl
> ...
> -------
>
> as you can see, the commits get "mostly stuck" after some time. They 
> do increment from time to time, in small amounts, but no execution 
> results are visible.
>
> any hints, please?
>
> I thought it works now, because I tried it a few times and it really 
> did. It was probably my lucky day. :)
> Sometimes, if you run small commands, it "warms up" and then you can 
> run even longer executables. Sometimes this method does not work.
> And I used mostly small executables for testing, so I didn't have 
> problems.
>
> Sasa
>
> Matt T. Yourst wrote:
>> On Tuesday 18 September 2007 04:51, Sasa Tomic wrote:
>>   
>>>> Do the cycle counters printed by PTLsim continue running, like this:
>>>>
>>>>   Completed      41301384 cycles,       1561451 commits:    304778 Hz,
>>>>   208884 insns/sec: rip 0x2aaaaae43d8a
>>>>
>>>> What does it say for the rip it stops at?
>>>>
>>>> I just ran "ls -la" on our test systems using rev 221, with both seq and
>>>> smt cores, it it seems to work fine.
>>>>       
>>> It was very strange. The commits were "counting" but there was no
>>> obvious result, most of the time.
>>> Sometimes it starts and works OK, and sometimes I couldn't even execute
>>> a command.
>>> Anyway, what I did is erase _everything_ from the hard-disk that had a
>>> substring "xen" in the file or directory name.
>>> Then, I installed xen 3.1 from the website, kernel from the website, new
>>> ptlsim, etc.
>>> And now it works.
>>>     
>>
>> Sometimes Xen will get confused in very strange ways, and will not properly 
>> bring up virtual devices (like the keyboard or disk) after starting many 
>> domains, even though it looks like the domain started correctly.
>>
>> We use a script called cleanup-xen-state to fix this problem:
>>
>> #!/bin/sh
>> /etc/init.d/xend stop
>> killall -v xend xenconsoled xenstored blktapctrl
>> rm -fv `find /var/lib/xend/state -type f`
>> rm -fv /var/lib/xenstored/*
>> /etc/init.d/xend start
>>
>> Try this script if your problem appears again.
>>
>> - Matt
>>
>> -------------------------------------------------------
>>  Matt T. Yourst                    yourst at peptidal.com
>>  Peptidal Research Inc., Co-Founder and Lead Architect
>> -------------------------------------------------------
>> _______________________________________________
>> PTLsim-devel mailing list
>> PTLsim-devel at ptlsim.org
>> https://ptlsim.org/mailman/listinfo/ptlsim-devel
>>
>>   
>
> -- 
> Saša Tomić
> BSC - Barcelona Supercomputing Center
> c\ Jordi Girona 29, Nexus I, 08034 Barcelona, España
> Tel.: ,  
> http://www.bsc.es
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> PTLsim-devel mailing list
> PTLsim-devel at ptlsim.org
> https://ptlsim.org/mailman/listinfo/ptlsim-devel
>   

-- 
Saša Tomić
BSC - Barcelona Supercomputing Center
c\ Jordi Girona 29, Nexus I, 08034 Barcelona, España
Tel.: ,  
http://www.bsc.es

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://ptlsim.org/pipermail/ptlsim-devel/attachments/20070919/7ddcfd72/attachment-0001.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ptlsim_block_log.txt
Url: https://ptlsim.org/pipermail/ptlsim-devel/attachments/20070919/7ddcfd72/attachment-0001.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : https://ptlsim.org/pipermail/ptlsim-devel/attachments/20070919/7ddcfd72/attachment-0001.bin 


More information about the PTLsim-devel mailing list