gem5-users@gem5.org

The gem5 Users mailing list

View all threads

How Can I Save the output file-Full System Simulation

HM
hu miao
Tue, Jan 16, 2024 3:41 AM

Hi:
First of all, I am very, very grateful to Hao Nguyen, who answered me
another question about full system simulation the other day, because I
don't know much about gem5 user lists, and clicking on the reply below
always shows a connection error, so I haven't been able to reply.
I still want to ask a question today about whole-system simulation. I'm
using a full system simulation to test the MachSuite benchmark, MachSuite
contains a lot of algorithms, and I want to know how long each algorithm
runs. I let the running time of each algorithm be printed to the output
.txt, which makes it easier for me to organize the data, but I found that
the directory that exists after logging in with m5term localhost 3456 is
[root@gem5-host], and the file is also under this environment, how can I
save the output .txt file in my own server directory or how can I retrieve
the output.txt file from [root@gem5-host].
If someone could answer my question, I would greatly appreciate it.

Hi: First of all, I am very, very grateful to Hao Nguyen, who answered me another question about full system simulation the other day, because I don't know much about gem5 user lists, and clicking on the reply below always shows a connection error, so I haven't been able to reply. I still want to ask a question today about whole-system simulation. I'm using a full system simulation to test the MachSuite benchmark, MachSuite contains a lot of algorithms, and I want to know how long each algorithm runs. I let the running time of each algorithm be printed to the output .txt, which makes it easier for me to organize the data, but I found that the directory that exists after logging in with m5term localhost 3456 is [root@gem5-host], and the file is also under this environment, how can I save the output .txt file in my own server directory or how can I retrieve the output.txt file from [root@gem5-host]. If someone could answer my question, I would greatly appreciate it.
S
sun2k23
Tue, Jan 16, 2024 6:15 AM

I think maybe you can try /sbin/m5  utility, using the writefile option. Then you can redirect the virtual OS environment files to local Hosts.
The command format is like below:

S2K

At 2024-01-16 11:41:57, "hu miao via gem5-users" gem5-users@gem5.org wrote:

Hi:
First of all, I am very, very grateful to Hao Nguyen, who answered me another question about full system simulation the other day, because I don't know much about gem5 user lists, and clicking on the reply below always shows a connection error, so I haven't been able to reply.
I still want to ask a question today about whole-system simulation. I'm using a full system simulation to test the MachSuite benchmark, MachSuite contains a lot of algorithms, and I want to know how long each algorithm runs. I let the running time of each algorithm be printed to the output .txt, which makes it easier for me to organize the data, but I found that the directory that exists after logging in with m5term localhost 3456 is [root@gem5-host], and the file is also under this environment, how can I save the output .txt file in my own server directory or how can I retrieve the output.txt file from [root@gem5-host].
If someone could answer my question, I would greatly appreciate it.

I think maybe you can try /sbin/m5 utility, using the writefile option. Then you can redirect the virtual OS environment files to local Hosts. The command format is like below: S2K At 2024-01-16 11:41:57, "hu miao via gem5-users" <gem5-users@gem5.org> wrote: Hi: First of all, I am very, very grateful to Hao Nguyen, who answered me another question about full system simulation the other day, because I don't know much about gem5 user lists, and clicking on the reply below always shows a connection error, so I haven't been able to reply. I still want to ask a question today about whole-system simulation. I'm using a full system simulation to test the MachSuite benchmark, MachSuite contains a lot of algorithms, and I want to know how long each algorithm runs. I let the running time of each algorithm be printed to the output .txt, which makes it easier for me to organize the data, but I found that the directory that exists after logging in with m5term localhost 3456 is [root@gem5-host], and the file is also under this environment, how can I save the output .txt file in my own server directory or how can I retrieve the output.txt file from [root@gem5-host]. If someone could answer my question, I would greatly appreciate it.
EM
Eliot Moss
Tue, Jan 16, 2024 12:58 PM

On 1/16/2024 1:15 AM, sun2k23 via gem5-users wrote:

I think maybe you can try /sbin/m5  utility, using the writefile option. Then you can redirect the virtual OS
environment files to local Hosts.
The command format is like below:

S2K

At 2024-01-16 11:41:57, "hu miao via gem5-users" gem5-users@gem5.org wrote:

 Hi:
      First of all, I am very, very grateful to Hao Nguyen, who answered me another question about full system
 simulation the other day, because I don't know much about gem5 user lists, and clicking on the reply below always
 shows a connection error, so I haven't been able to reply.
      I still want to ask a question today about whole-system simulation. I'm using a full system simulation to test
 the MachSuite benchmark, MachSuite contains a lot of algorithms, and I want to know how long each algorithm runs. I
 let the running time of each algorithm be printed to the output .txt, which makes it easier for me to organize the
 data, but I found that the directory that exists after logging in with m5term localhost 3456 is [root@gem5-host],
 and the file is also under this environment, how can I save the output .txt file in my own server directory or how
 can I retrieve the output.txt file from [root@gem5-host].
 If someone could answer my question, I would greatly appreciate it.

Actually, you can set the output directory from the command line to gem5.
I do that so that each run goes into a different directory.  I'm sure that
people have written all kinds of shell scripts wrappers (as I have) to
handle this.

Eliot Moss

On 1/16/2024 1:15 AM, sun2k23 via gem5-users wrote: > > I think maybe you can try /sbin/m5  utility, using the writefile option. Then you can redirect the virtual OS > environment files to local Hosts. > The command format is like below: > > > S2K > > > > At 2024-01-16 11:41:57, "hu miao via gem5-users" <gem5-users@gem5.org> wrote: > > Hi: >     First of all, I am very, very grateful to Hao Nguyen, who answered me another question about full system > simulation the other day, because I don't know much about gem5 user lists, and clicking on the reply below always > shows a connection error, so I haven't been able to reply. >     I still want to ask a question today about whole-system simulation. I'm using a full system simulation to test > the MachSuite benchmark, MachSuite contains a lot of algorithms, and I want to know how long each algorithm runs. I > let the running time of each algorithm be printed to the output .txt, which makes it easier for me to organize the > data, but I found that the directory that exists after logging in with m5term localhost 3456 is [root@gem5-host], > and the file is also under this environment, how can I save the output .txt file in my own server directory or how > can I retrieve the output.txt file from [root@gem5-host]. > If someone could answer my question, I would greatly appreciate it. Actually, you can set the output directory from the command line to gem5. I do that so that each run goes into a different directory. I'm sure that people have written all kinds of shell scripts wrappers (as I have) to handle this. Eliot Moss
HM
hu miao
Wed, Jan 17, 2024 2:09 AM

Thank you so much! It was really helpful.😘

On Tue, Jan 16, 2024 at 2:16 PM sun2k23 via gem5-users gem5-users@gem5.org
wrote:

I think maybe you can try /sbin/m5  utility, using the writefile option.
Then you can redirect the virtual OS environment files to local Hosts.
The command format is like below:

S2K

At 2024-01-16 11:41:57, "hu miao via gem5-users" gem5-users@gem5.org
wrote:

Hi:
First of all, I am very, very grateful to Hao Nguyen, who answered me
another question about full system simulation the other day, because I
don't know much about gem5 user lists, and clicking on the reply below
always shows a connection error, so I haven't been able to reply.
I still want to ask a question today about whole-system simulation.
I'm using a full system simulation to test the MachSuite benchmark,
MachSuite contains a lot of algorithms, and I want to know how long each
algorithm runs. I let the running time of each algorithm be printed to the
output .txt, which makes it easier for me to organize the data, but I found
that the directory that exists after logging in with m5term localhost 3456
is [root@gem5-host], and the file is also under this environment, how can
I save the output .txt file in my own server directory or how can I
retrieve the output.txt file from [root@gem5-host].
If someone could answer my question, I would greatly appreciate it.


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Thank you so much! It was really helpful.😘 On Tue, Jan 16, 2024 at 2:16 PM sun2k23 via gem5-users <gem5-users@gem5.org> wrote: > > I think maybe you can try /sbin/m5 utility, using the writefile option. > Then you can redirect the virtual OS environment files to local Hosts. > The command format is like below: > > > S2K > > > > At 2024-01-16 11:41:57, "hu miao via gem5-users" <gem5-users@gem5.org> > wrote: > > Hi: > First of all, I am very, very grateful to Hao Nguyen, who answered me > another question about full system simulation the other day, because I > don't know much about gem5 user lists, and clicking on the reply below > always shows a connection error, so I haven't been able to reply. > I still want to ask a question today about whole-system simulation. > I'm using a full system simulation to test the MachSuite benchmark, > MachSuite contains a lot of algorithms, and I want to know how long each > algorithm runs. I let the running time of each algorithm be printed to the > output .txt, which makes it easier for me to organize the data, but I found > that the directory that exists after logging in with m5term localhost 3456 > is [root@gem5-host], and the file is also under this environment, how can > I save the output .txt file in my own server directory or how can I > retrieve the output.txt file from [root@gem5-host]. > If someone could answer my question, I would greatly appreciate it. > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
HM
hu miao
Wed, Jan 17, 2024 2:13 AM

Thank you very much, as you said, the redirected files appeared in the
output folder that I specified.

On Tue, Jan 16, 2024 at 10:16 PM Eliot Moss via gem5-users <
gem5-users@gem5.org> wrote:

On 1/16/2024 1:15 AM, sun2k23 via gem5-users wrote:

I think maybe you can try /sbin/m5  utility, using the writefile option.

Then you can redirect the virtual OS

environment files to local Hosts.
The command format is like below:

S2K

At 2024-01-16 11:41:57, "hu miao via gem5-users" gem5-users@gem5.org

wrote:

 Hi:
      First of all, I am very, very grateful to Hao Nguyen, who

answered me another question about full system

 simulation the other day, because I don't know much about gem5 user

lists, and clicking on the reply below always

 shows a connection error, so I haven't been able to reply.
      I still want to ask a question today about whole-system

simulation. I'm using a full system simulation to test

 the MachSuite benchmark, MachSuite contains a lot of algorithms, and

I want to know how long each algorithm runs. I

 let the running time of each algorithm be printed to the output

.txt, which makes it easier for me to organize the

 data, but I found that the directory that exists after logging in

with m5term localhost 3456 is [root@gem5-host],

 and the file is also under this environment, how can I save the

output .txt file in my own server directory or how

 can I retrieve the output.txt file from [root@gem5-host].
 If someone could answer my question, I would greatly appreciate it.

Actually, you can set the output directory from the command line to gem5.
I do that so that each run goes into a different directory.  I'm sure that
people have written all kinds of shell scripts wrappers (as I have) to
handle this.

Eliot Moss


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Thank you very much, as you said, the redirected files appeared in the output folder that I specified. On Tue, Jan 16, 2024 at 10:16 PM Eliot Moss via gem5-users < gem5-users@gem5.org> wrote: > On 1/16/2024 1:15 AM, sun2k23 via gem5-users wrote: > > > > I think maybe you can try /sbin/m5 utility, using the writefile option. > Then you can redirect the virtual OS > > environment files to local Hosts. > > The command format is like below: > > > > > > S2K > > > > > > > > At 2024-01-16 11:41:57, "hu miao via gem5-users" <gem5-users@gem5.org> > wrote: > > > > Hi: > > First of all, I am very, very grateful to Hao Nguyen, who > answered me another question about full system > > simulation the other day, because I don't know much about gem5 user > lists, and clicking on the reply below always > > shows a connection error, so I haven't been able to reply. > > I still want to ask a question today about whole-system > simulation. I'm using a full system simulation to test > > the MachSuite benchmark, MachSuite contains a lot of algorithms, and > I want to know how long each algorithm runs. I > > let the running time of each algorithm be printed to the output > .txt, which makes it easier for me to organize the > > data, but I found that the directory that exists after logging in > with m5term localhost 3456 is [root@gem5-host], > > and the file is also under this environment, how can I save the > output .txt file in my own server directory or how > > can I retrieve the output.txt file from [root@gem5-host]. > > If someone could answer my question, I would greatly appreciate it. > > Actually, you can set the output directory from the command line to gem5. > I do that so that each run goes into a different directory. I'm sure that > people have written all kinds of shell scripts wrappers (as I have) to > handle this. > > Eliot Moss > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >